hurlbertlab / core-transient

Data and code for NSF funded research on core vs transient species
7 stars 3 forks source link

Core-transient

Data and code for NSF funded research on core vs transient species

Navigating the core-transient file system:

The core-transient repo includes:

The project also includes a core-transient-datasets sub-repo that is private. This sub-repo contains

R-scripts and functions in the core-transient file system

Early attempts to automate the process of formatting the datasets were met with difficulties associated with marked differences in how the data were coded across studies. Because of this, we’ve found it necessary to format and prepare data for analysis on a dataset-by-dataset basis. In the R-scripts folder (‘core-transient/scripts/R-scripts’) you will find two files: core-transient_functions.R and a folder of data_cleaning_scripts.

Tests

A test of the functions which decide what levels of spatial and temporal subsampling to use (if any) can be run in R by typing:

source('scripts/R-scripts/tests/data_subsampling_test.R')

This should be run any time any of the functions in 'core-transient_functions.R' are modified to ensure that data is still being subsampled as expected. This set of tests may not be exhaustive...

Project status

Format flag codes

0 = not yet examined
1 = formatting complete
2 = formatting in process
3 = formatting halted, issue
4 = data unavailable
5 = data inadequate for project aims