/FinalProject100

Primary LanguageRMIT LicenseMIT

finalproject_100

IMAGE ALT TEXT HERE

Visit https://lauracchen125.github.io/FinalProject100/ for high-level explanation of the analysis and process.

agb_ownership.R Takes in AGB and ownership GeoTIFF raster data and forest activity GeoJSON data. Produces conditional density plots for initial relationship examination, linear regression, and Random Forests models. Outputs mapdata.GeoJSON, which has ownership ("layer), activity, and change in AGB data ("delagb") for 30mx30m polygons in forests spanning from Arizona to New Mexico.

mapping.R Produces chloropleth plots from sf objects by reading in the geoJSON created by agb_ownership. These can be exported as images or PDFs.

index.html Supports summary webpage/user interface using edited Bootstrap Carousel example template. The site branch hosts the images and index file necessary to host the webpage on Github pages.

Data: USFS activities - https://data.fs.usda.gov/geodata/edw/datasets.php Download shapefiles of: Activity Range Vegetation Improvement Silviculture Timber Stand Improvement Hazardous Fuel Treatment Reduction: Polygon Collaborative Forest Landscape Restoration Program: Polygon Healthy Forest Restoration Act Activities Timber Sale NEPA

Forest AGB 2000-2021 - https://daac.ornl.gov/cgi-bin/dsviewer.pl?ds_id=1978 Ownership 2010 - https://www.fs.usda.gov/rds/archive/Catalog/RDS-2010-0002 Ownership 2017 - https://www.fs.usda.gov/rds/archive/Catalog/RDS-2020-0044

Install packages by: install.packages("PACKAGE NAME") in the terminal

Packages required:

  • sf # package for geospatial df manipulation
  • geojsonio # package used in mapping script
  • ggplot2 # package used in mapping script
  • sp # package used in mapping script
  • RColorBrewer # package used in mapping script
  • rgdal # package for geospatial analysis
  • ggplot2 # package for plotting
  • raster # package for raster manipulation
  • geojsonR #package for geoJSON
  • dplyr #for data manipulation
  • exactextractr #for faster value extraction via C++
  • tictoc #checking run time