bcdc_get_record {bcdata} | R Documentation |
Show a single B.C. Data Catalogue record
Description
Show a single B.C. Data Catalogue record
Usage
bcdc_get_record(id)
Arguments
id |
the human-readable name, permalink ID, or URL of the record. It is advised to use the permanent ID for a record rather than the
human-readable name to guard against future name changes of the record.
If you use the human-readable name a warning will be issued once per
session. You can silence these warnings altogether by setting an option:
|
Value
A list containing the metadata for the record
Examples
try(
bcdc_get_record("https://catalogue.data.gov.bc.ca/dataset/bc-airports")
)
try(
bcdc_get_record("bc-airports")
)
try(
bcdc_get_record("https://catalogue.data.gov.bc.ca/dataset/76b1b7a3-2112-4444-857a-afccf7b20da8")
)
try(
bcdc_get_record("76b1b7a3-2112-4444-857a-afccf7b20da8")
)
[Package bcdata version 0.4.1 Index]