oharac / bd_chi

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
http://ohi-science.nceas.ucsb.edu/visualizing_human_impacts/
1 stars 3 forks source link

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: