View source: R/bioticToDatabase.R
bioticToDatabase | R Documentation |
A wrapper for readXmlFile
to enable further use in the BioticExplorer database
bioticToDatabase(
file,
removeEmpty = FALSE,
convertColumns = FALSE,
returnOriginal = FALSE,
missionidPrefix = NULL,
icesAreas = icesAreas,
cruiseSeries = cruiseSeries,
gearCodes = gearCodes
)
file |
character string specifying the file path to the xml file. Accepts only one file at the time. |
removeEmpty |
logical indicating whether empty columns should be removed from the output. |
convertColumns |
logical indicating whether the column types should be converted. See |
returnOriginal |
logical indicating whether the original data ( |
missionidPrefix |
A prefix for the |
icesAreas |
ICES area shape |
cruiseSeries |
a data.table object of NMD cruise series list. Used to identify cruise series of a specific mission. See |
gearCodes |
a data.table object of NMD gear code list. Used to make gearname and gearcategory columns. See |
Returns a list of Biotic data with $mission
, $stnall
and $indall
data tables. The $stnall
and $indall
are merged from $fishstation
and $catchsample
(former) and $fishstation
, $catchsample
, $individual
and $agedetermination
(latter).
Mikko Vihtakari, Ibrahim Umar (Institute of Marine Research)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.