Pune Municipal Corporation conducted a tree census measuring ~40 lacs trees (displayed in red in the image above). This repository attempts to estimate the Above-ground Biomass of the trees. This repository contains the code for the purpose of making it completely open source and reproducible.
- Make sure you have latest R & R-Studio.
- Download/Clone this repository.
- Download the raw data files from Pune Open data portal
- Extract and keep the data files in the folder ‘01-Data\01-Raw\Pune Tree Census August 2019’ (There are five files ex. : p1.csv, p2.csv etc.)
- Run the scripts available in the folder “02-Code” in sequence
- Imports and formats the raw data properly.
- Fetches the mosts recent accepted botanical name from Taxonomic Name Resolution Service.
- Assigns wood-density data to each species, from the global wood density data base fecilitated by BIOMASS: An R Package.
- Saves the processed data in the folder 03-Tables with an prefix “00aa”
- Imports the data generated by 00aa-initial-data-exploration.R
- Calculates the AGB for each tree.
- Saves the relavant data in the foler 03-Tables with an prefix “01aa”
- Contains custom made functions used in other R-scripts.
- Please feel free to raise a issue on github if you are find a bug, typo or suggest a feature.
- If you come across functions which supersedes any of functions presented here then please let me know by raising an issue.