View source: R/bdc_basisOfRecords_notStandard.R
bdc_basisOfRecords_notStandard | R Documentation |
This function flags records with an informed basis of records (i.e., the records type, for example, a specimen, a human observation, or a fossil specimen) not interpretable, which does not comply with Darwin Core vocabulary, or unreliable or unsuitable for specific analyses.
bdc_basisOfRecords_notStandard(
data,
basisOfRecord = "basisOfRecord",
names_to_keep = "all"
)
data |
data.frame. Containing information about the basis of records. |
basisOfRecord |
character string. The column name with information about basis of records. Default = "basisOfRecord". |
names_to_keep |
character string. Elements of the column BasisOfRecords to keep. Default is "all", which considers a selected list of recommended standard Darwin Core classes (and their spelling variations, see details). By default, records missing (i.e., NA) or with "unknown" information about basis of records are kept. |
Users are encourage to select the set of basis of records classes to keep. Default = c("Event","HUMAN_OBSERVATION", "HumanObservation", "LIVING_SPECIMEN", "LivingSpecimen", "MACHINE_OBSERVATION", "MachineObservation", "MATERIAL_SAMPLE", "O", "Occurrence", "MaterialSample", "OBSERVATION", "Preserved Specimen", "PRESERVED_SPECIMEN", "preservedspecimen Specimen", "Preservedspecimen", "PreservedSpecimen", "preservedspecimen", "S", "Specimen", "Taxon", "UNKNOWN", "", NA)
A data.frame containing the column ".basisOfRecords_notStandard" .Compliant (TRUE) if 'basisOfRecord' is standard; otherwise "FALSE".
Other prefilter:
bdc_coordinates_country_inconsistent()
,
bdc_coordinates_empty()
,
bdc_coordinates_from_locality()
,
bdc_coordinates_outOfRange()
,
bdc_coordinates_transposed()
,
bdc_country_standardized()
,
bdc_scientificName_empty()
x <- data.frame(basisOfRecord = c(
"FOSSIL_SPECIMEN", "UNKNOWN",
"RON", NA, "Specimen", "PRESERVED_SPECIMEN"
))
bdc_basisOfRecords_notStandard(
data = x,
basisOfRecord = "basisOfRecord",
names_to_keep = "all"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.