data_citation {VicmapR} | R Documentation |
Layer Metadata
Description
formatted metadata attributes of a given vicmap layer (vicmap_query(layer)
).
Metadata is retrieved from the Vicmap catalogue. data_citation()
prints a BibTex style citation for a given record;
similar to base::citation()
. data_dictionary()
returns a table with names, types and descriptions of the data within the
selected layer (see details). get_metdata()
returns a list with three elements, containing metadata, the data dictionary and the url of the
metadata for the record.
Usage
data_citation(x = NULL, metadataID = NULL)
data_dictionary(x = NULL, metadataID = NULL)
get_metadata(x = NULL, metadataID = NULL)
Arguments
x |
Object of class |
metadataID |
character: ID of data (useful if data is not available through WFS) |
Value
citation, data.frame or list
Examples
try(
data_citation(vicmap_query(layer = "datavic:VMHYDRO_WATERCOURSE_DRAIN"))
)
try(
data_dictionary(vicmap_query(layer = "datavic:VMHYDRO_WATERCOURSE_DRAIN"))
)
try(
get_metadata(vicmap_query(layer = "datavic:VMHYDRO_WATERCOURSE_DRAIN"))
)
[Package VicmapR version 0.2.3 Index]