Description Usage Arguments Value Examples
View source: R/Keyrun_Ecodata_to_MSSPM.R
Conversion of Keyrun (i.e., Ecodata) Environmental Covariate data to an MSSPM Covariate csv file
1 | convertEcodataToMSSPM(colNames, inputDataFrames, region, vars, outputFile)
|
colNames |
The names of the covariate parameters that are used in MSSPM |
region |
The geographical region of interest (i.e., "GB","GOM","MAB") |
vars |
The description used in the data frame to specify the desired years' data |
inputDataFrame |
The input Ecodata data frames |
outputfile |
The output csv data file containing the MSSPM Covariate formatted data. N.B. The csv file must begin with "Covariate_". |
n/a
1 2 3 4 5 6 7 8 9 | remotes::install_github("NOAA-EDAB/ecodata")
colNames <- list("chloro_a","bottom_temp","sea_surface_temp")
inputDataFrames <- list(ecodata::chl_pp,ecodata::bottom_temp,ecodata::seasonal_oisst_anom)
region <- "GB" # GB, GOM, or MAB (i.e., George's Bank, Gulf of Maine, Mid-Atlantic Bight)
vars <- list("ANNUAL_PPD_MEDIAN","bottom temp anomaly in situ","Spring OISST anomaly")
outputFile <- '/home/rklasky/test/Covariate_Keyrun.csv'
convertEcodataToMSSPM(colNames,inputDataFrames,region,vars,outputFile)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.