bdDwC
Darwinazing biodiversity data in R.
"Darwin Core is a standard maintained by the Darwin Core maintenance group. It includes a glossary of terms intended to facilitate the sharing of information about biological diversity by providing identifiers, labels, and definitions." Darwin Core
bdDwC
is an R package that user can Darwinize given dataset using comand-line interface. This package is part of bd-R
and has a shiny interface implemented in bddwc.app
.
Install bdDwC
with:
install.packages("bdDwC")
Or for development version:
devtools::install_github("bd-R/bdDwC")
To use bdDwC
from the command line:
Load bdDwC
package
library(bdDwC)
bdDwC
contains Indian Reptile dataset bdDwC:::data_reptiles
.
Darwinize data with darwinize_names
(replace bdDwC:::data_reptiles
with wanted dataset):
result <- darwinize_names(data_user = bdDwC:::data_reptiles,
data_dwc = bdDwC:::data_darwin_cloud$data)
Rename your data using bdDwC
with rename_user_data
:
# Replace `bdDwC:::data_reptiles` with wanted dataset
rename_user_data(bdDwC:::data_reptiles, result)
To get newest version of Darwin Cloud Data run:
download_cloud_data()
which will download data from the remote repository and extract field and standard names.