niceynine / AGB_Pune

Above-ground biomass estimation for tree-census done by Pune Muncipal Corporation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AGB_Pune.R

GitHub top language GitHub code size in bytes GitHub

GitHub commit activity GitHub last commit

GitHub issues

Motivation

alt text

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.

Installation

  • 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

Scripts

00aa-initial-data-exploration.R

01aa-AGB-Calculations.R

  • 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”

util_AGB_Pune.R

  • Contains custom made functions used in other R-scripts.

Resources

Feedback

  • 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.

About

Above-ground biomass estimation for tree-census done by Pune Muncipal Corporation


Languages

Language:R 100.0%