Skip to content
/ bd_chi Public

Repository for code and generated data for "At-risk marine biodiversity faces extensive, expanding, and intensifying human impacts": O’Hara, C. C., Frazier, M., & Halpern, B. S. (2021), Science, 372(6537), 84–87. https://doi.org/10.1126/science.abe6731

Notifications You must be signed in to change notification settings

oharac/bd_chi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

At-risk marine biodiversity faces extensive, expanding, and intensifying human impacts

Repository for code and generated data for "At-risk marine biodiversity faces extensive, expanding, and intensifying human impacts" by Casey C. O'Hara, Melanie Frazier, Benjamin S. Halpern.

External data are freely available from:

To replicate the analysis, download necessary data and set up an external directory for these datasets and large files generated during the analysis process.

Run all scripts in the _setup directory in numeric order. It will be necessary to point the scripts to the proper locations in your data directory. The common_fxns.R script may be helpful for setting filename objects to various data locations.

Run all scripts in the root project directory, in numeric order.

Finally, if you wish to generate the figures, run the appropriate scripts in the ms_figs directory.

Overview of file structure:

  • _setup: scripts for pre-processing of data on threats, species range distributions, and stressor distributions.
  • _raw: lookup tables created by the project team to facilitate the analysis.
  • _data: data drawn from the IUCN API; note that the setup scripts also place larger IUCN files on the external data directory.
  • _spatial: spatial data and maps generated in the setup scripts. Again, note that the setup scripts place larger spatial files on the external data directory.
  • _output: all finalized datasets are stored here, including rasters of impacts, intensification, stressor footprints, and taxonomic species richness maps.
  • figs: temporary figure storage
  • ms_figs: code to generate figures for manuscript
  • ms_tables: code to generate tables for manuscript

About

Repository for code and generated data for "At-risk marine biodiversity faces extensive, expanding, and intensifying human impacts": O’Hara, C. C., Frazier, M., & Halpern, B. S. (2021), Science, 372(6537), 84–87. https://doi.org/10.1126/science.abe6731

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages