get_ref_info: Get citation for Data Store holding info by HoldingID

View source: R/getReferenceInfo.R

get_ref_infoR Documentation

Get citation for Data Store holding info by HoldingID

Description

get_ref_info returns a character string or a vector with information from one of the metadata fields in a Data Store reference's associated xml file.

Usage

get_ref_info(holding_id, field)

Arguments

holding_id

The six-seven digit reference / holding ID number unique to the data store record.

field

is one of the following: "Title" returns the title of the data store reference as a string value; "Abstract" returns the abstract as a string value; "Citation" returns the citation as a string value, and "Keywords" returns a vector containing all keywords as character values.

Examples

## Not run: 
get_ref_info(2266196, "Title")

## End(Not run)

nationalparkservice/DSTools documentation built on March 29, 2025, 10:54 p.m.