Description Usage Arguments Details Value See Also
View source: R/2_complete_database.R
This function contains a workflow to add information to the original data
through external datasets and calculations. Please review this workflow as
explained in Details
. You can also create your own workflow, for example by using
other functions contained in this package.
1 2 3 4 5 6 7 | complete_database(
data_folder = "data",
out_folder = "data",
input_folder = "inputfiles",
bathymetry = NULL,
as_CSV = TRUE
)
|
data_folder |
This is the folder that contains the initial database.
Default is 'data', as created by the |
out_folder |
This is the folder where you want your improved, but not yet finalized database, to be stored. Default is 'data'. |
bathymetry |
(optional) Water depth can be added to the database if you have a bathymetry file. If no such file is given, bathymetry is collected from NOAA. |
The initial database created with construct_database
only contains
raw data as imported from the CSV files. Sometimes data is missing (e.g.
water depth is optional and not always reported) or you wish to include
extra information (e.g. taxonomic information). This workflow is a chain
of functions to improve the database with external data and calculations.
The chain of functions is explained here, but you are of course free to
adjust this chain to your own wishes.
#' The latest accepted name for the specimen is added to the database including the taxonomic classification (phylum, class, order, family, genus).
This function does not return an object, but stores 'stations_additions.rda' and 'species_additions.rda' to the out_folder.
add_track_midpoints
, add_track_length_GPS
,
add_track_length_Odometer
, add_water_depth
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.