View source: R/download_forcis_db.R
download_forcis_db | R Documentation |
Downloads the entire FORCIS database as a collection of five csv
files from
Zenodo (https://zenodo.org/doi/10.5281/zenodo.7390791). Additional
files will be also downloaded.
download_forcis_db(
path = ".",
version = options()$forcis_version,
check_for_update = options()$check_for_update,
overwrite = FALSE,
timeout = 60
)
path |
a |
version |
a |
check_for_update |
a |
overwrite |
a |
timeout |
an |
The FORCIS database is regularly updated. The global structure of the tables
doesn’t change between versions but some bugs can be fixed and new records
can be added. This is why it is recommended to use the latest version of the
database. The package is designed to handle the versioning of the database on
Zenodo and will inform the user if a new version is available each time
he/she uses one of the read_*_data()
functions.
For more information, please read the vignette available at https://frbcesab.github.io/forcis/articles/database-versions.html.
No return value. The FORCIS files will be saved in the path
folder.
Chaabane S, De Garidel-Thoron T, Giraud X, et al. (2023) The FORCIS database: A global census of planktonic Foraminifera from ocean waters. Scientific Data, 10, 354. DOI: https://doi.org/10.1038/s41597-023-02264-2.
read_plankton_nets_data()
to import the FORCIS database.
## Not run:
# Attach the package ----
library("forcis")
# Folder in which the database will be saved ----
path_to_save_db <- "data"
# Download the database ----
download_forcis_db(path = path_to_save_db)
# Check the content of the folder ----
list.files(path_to_save_db, recursive = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.