This folder contains the data and R code files for the article: Takehiro Kazama, Jotaro Urabe, Masato Yamamichi, Kotaro Tokita, Xuwang Yin, Izumi Katano, Hideyuki Doi, Takehito Yoshida and Nelson G. Hairston Jr.10 (2020). A unified framework for herbivore-to-producer biomass ratio reveals the relative influence of four ecological factors. Communications Biology Comments and requests should be addressed to Jotaro Urabe: urabe@tohoku.ac.jp. All materials are free of use, but I would appreciate being told, and this dataset and the matching paper cited if appropriate. When and where used, please cite this data set as Kazama et al. (published year) A unified framework for herbivore-to-producer biomass ratio reveals the relative influence of four ecological factors. Communications Biology, volume, page number. The folder composed two part: Part 1: Part_1_Data Table (1) Data_Algal_biomass: contains algal cell abundance, biovolumes and carbon biomass. S means algae smaller than 30-micrometers in the major axis of the cells or colony. (2) Data_Primary_production_rate: parameters of P-I curve used for estimating primary production rate and the daily and time-step primary production rate at each date with PAR data. (3) Data_Zooplankton_biomass: crustacean individual number and carbon biomass, and zooplankton biomass. S, M, and L are size categories for small, mid and large individuals. (4) Data_set: Physical and biological parameters during the experiments at each pond, including Water temperature, pH, DO, Herbivore/Algal biomass ratio, algal and zooplankton carbon biomass, fraction of edible algae, specific daily production rate, daily production rate, fish abundance, seston C, N and P concentrations, and extinction coefficients. Part 2:Part_2_R_code_with_csv_file R codes and csv files used in the analyses that showed in Fig. 2 to Fig. 4 and Table 1 of the main text and Fig 1 to 9 of the supplementary information in the article shown above.