Skip to content

Materials for creating a habitat report card for the Habitat Master Plan and Habitat Restoration Consortium

Notifications You must be signed in to change notification settings

tbep-tech/habitat-report-card

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

habitat-report-card

Materials for creating a habitat report card for the Habitat Master Plan and Habitat Restoration Consortium

Report card: link

Tables and figures: link

Restoration potential map: link

Potential oyster restoration thresholds by bay segment: link

Updatings tables and figures

The tables and figures link above can be updated as source material for the habitat report card. This should be done each year once the file restoration.csv is updated in the TBEP_Habitat_Restoration repository. The data can also be updated with new SWFWMD land use land cover maps, approximately every three years (the restoration potential map should also be updated with these new data). Follow the steps below to update the tables and figures. These files depend on many R packages, so you will likely need to install them before running.

  1. Pull the latest version of the repository to your local machine.
  2. Run all of the contents in the file R/dat_proc.R down to line 45. This retrieves the file restoration.csv, formats it, and saves it as an updated file called data/rstdatall.RData for creating the tables and figures.
  3. Run all of the contents in the file R/figs.R. This creates multiple figures that are placed in docs/figs, which are used in the rendered Quarto file and can also be used as standalone files.
  4. Run all of the contents in the file R/tabs.R. This creates multiple tables that are placed in docs/tabs, which are used in the rendered Quarto file and can also be used as standalone files.
  5. Open and render the Quarto file docs/summaries.qmd. An updated HTML file called summaries.html will be created in the docs folder. This file can be viewed in a web browser and is the link provided above.
  6. Commit and push the updated files to the repository. The link above should be updated with the changes in a few minutes.

About

Materials for creating a habitat report card for the Habitat Master Plan and Habitat Restoration Consortium

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages