demo-data

The required data columns are (formatted exactly like so): YEAR, NUMBER_OF_SPAWNERS, SPECIES, FRACWILD, COMMON_POPULATION_NAME, RUN_TIMING, ESU, MAJOR_POPULATION_GROUP. The following optional columns will also be used: Popid (NA is not present), Method (set to “Survey” if missing), Citation (set to NA if missing), and Contributor (set to NA if missing). Other columns may be included but will be ignored.

Notes

  • NAs are entered as -99 for numbers and blanks for character columns.
  • The populations will be listed in the tables and figures in the same order that they appear in the input file
  • The spawner numbers should not have “,” delimiters. For example “1000” not “1,000”.

Example data file

Example data files are in the “extdata” folder of the installed package and in the “inst/extdata” folder in the GitHub repository.

ESU,MAJOR_POPULATION_GROUP,COMMON_POPULATION_NAME,SPECIES,RUN_TIMING,BROOD_YEAR,NUMBER_OF_SPAWNERS,FRACWILD
Lower Columbia River Chinook Salmon ESU,Cascade,Kalama River,Chinook,Fall-run,1964,4695,-99
Lower Columbia River Chinook Salmon ESU,Cascade,Kalama River,Chinook,Fall-run,1965,5509,-99
Lower Columbia River Chinook Salmon ESU,Cascade,Kalama River,Chinook,Fall-run,1966,2684,-99
Lower Columbia River Chinook Salmon ESU,Cascade,Kalama River,Chinook,Fall-run,1967,3305,-99