View source: R/data_integrate.R
data_integrate | R Documentation |
Integrate datasets, add zeroes, divide into fish and survey tables, and export to csv and/or rda.
data_integrate(
data_path,
sources = c("Baystudy", "Suisun", "FMWT", "SKT", "DJFMP", "EDSM", "TMM", "SLS", "STN",
"Salvage"),
format = "rda",
write = TRUE,
quiet = FALSE
)
data_path |
Path to the folder where you wish the csv/rda files to be saved. |
sources |
Character vector of data sources to include |
format |
Should the fish and survey tables be saved as a csv alone, a combined .rda file, or both? Defaults to 'rda' and other options are 'csv' or 'both'. |
write |
Logical. Should the files be written to disk, or would you just like them returned as an R object? Defaults to TRUE. |
quiet |
Logical. Set to TRUE if you wish to hide all status messages. |
Invisibly returns a list with the survey and fish tables.
## Not run:
data_integrate(data_path=file.path("data-raw", "EDI", "data_objects"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.