read_description_file: Read dataset DESCRIPTION file

Description Usage Arguments Value

View source: R/parser.R

Description

Read dataset DESCRIPTION file

Usage

1
read_description_file(dataset_name, file_data = NULL)

Arguments

dataset_name

Dataset name, character

file_data

File data, character vector; optional for testing

Value

A data.frame with the following columns:

CSR_DATASET

Dataset name (internal to COSORE), character

CSR_SITE_NAME

Site name, character

CSR_LONGITUDE

Decimal longitude (degrees), numeric

CSR_LATITUDE

Decimal latitude (degrees), numeric

CSR_ELEVATION

Elevation (m), numeric

CSR_TIMEZONE

Timezone, character

CSR_IGBP

IGBP class, character

CSR_NETWORK

Site network name, character

CSR_SITE_ID

Site ID in network, character

CSR_INSTRUMENT

Measurement instrument, character

CSR_MSMT_LENGTH

Measurement legnth (s), numeric

CSR_FILE_FORMAT

Data file format, character

CSR_TIMESTAMP_FORMAT

Data timestamp format (see strptime), character

CSR_TIMESTAMP_TZ

Data timestamp timezone, character

CSR_PRIMARY_PUB

Primary publication, character

CSR_OTHER_PUBS

Other publications, character

CSR_DATA_URL

Data URL or DOI, character

CSR_ACKNOWLEDGMENT

Acknowledgment text, character

Infrequently, the description object may include:

CSR_NOTES

Notes, character

CSR_EMBARGO

Embargo information, character


bpbond/cosore documentation built on July 20, 2021, 3:17 p.m.