get_darwin_core_info: Retrieve Information about Darwin Core Terms

Description Usage Arguments Value See Also

View source: R/dictionary.R

Description

'get_darwin_core_info()' is a function (not exported) to download Darwin Core Terms. This information is displayed when using manually renaming.

Usage

1
2
3
4
5
6
7
get_darwin_core_info(
  path_darwin_cloud = "http://tdwg.github.io/dwc/terms/",
  regex_term = "table-secondary",
  regex_name = ".*>(.*)\\s<span.*",
  regex_definition = ".*</td><td>(.*)</td></tr>.*",
  name_to_def = 2
)

Arguments

path_darwin_cloud

a character string that specifies path to Darwin

regex_term

a character string with regular expression to find positions of Darwin Core Terms

regex_name

a character string with regular expression to extract term

name_to_def

a single numeric value specifying in how many rows from the term name it's definition is stored

regex_defition

a character string with regular expression to extract terms definition

Value

a data.frame that contains name and definition for each available Darwin Cloud term

See Also

Other dictionary functions: clean_dwc(), download_cloud_data()


bd-R/bdDwC documentation built on Oct. 4, 2021, 11:06 a.m.