bcdc_tidy_resources {bcdata} | R Documentation |
Returns a rectangular data frame of all resources contained within a record. This is particularly useful if you are trying to construct a vector of multiple resources in a record. The data frame also provides useful information on the formats, availability and types of data available.
bcdc_tidy_resources(record)
record |
either a It is advised to use the permanent ID for a record or the BCGW name 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:
|
A data frame containing the metadata for all the resources for a record
try(
airports <- bcdc_get_record("bc-airports")
)
try(
bcdc_tidy_resources(airports)
)