SOMEC2ECSAS | R Documentation |
Creates a .csv file used for exporting the data from the QC SOMEC database to the ECSAS database.
SOMEC2ECSAS(input = "SOMEC.accdb", output = "ECSASexport.csv",
date = "2014-01-01", step = "5 min", spNA = TRUE, excludeCruises = NULL,
typeSaisie = "ordi", inTransect = TRUE, saveErrors = TRUE)
input |
Name and path to the Access Quebec SOMEC database. |
output |
Name and path of the export .csv file created. |
date |
Cut off date after which the data should be extracted (character, format: "yyyy-mm-dd"). |
step |
Length of bouts in minutes to cut or join the transects into (default: "5 min"). Original QC data is cut in 1 minute bouts. See the by argument of |
spNA |
Species codes without matches will be turned to NAs or left with their codes. |
excludeCruises |
Character vector with cruises ids to exclude. |
typeSaisie |
Character vector to subset the way data was collected. Defaults to "ordi" - only data collected on computer will be returned. |
inTransect |
Should only data in transect be returned? |
saveErrors |
Log problems with transects encountered during extraction. |
If output, date, excludeCruises or typeSaisie are NULL, the corresponding options will be ignored.
A .csv file written at the given location.
Francois Rousseu
data2SOMEC
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.