Description Usage Arguments Value Methods (by class) Author(s) References Examples
The metadata
class is a thin wrapper around a nested list
object. It
provides a consistent start point to explore information about dataset
s and
safely import them into R.
1 2 3 4 5 6 7 8 9 10 11 12 13 | sal_get_metadata(x, prioritize_cache = TRUE,
cache_dir = "~/salinasr-cache")
## S3 method for class 'tbl_df'
sal_get_metadata(x, prioritize_cache = TRUE,
cache_dir = "~/salinasr-cache")
## S3 method for class 'character'
sal_get_metadata(dataset_id, prioritize_cache = TRUE,
cache_dir = "~/salinasr-cache")
## S3 method for class 'metadata'
print(x, cache_dir = "~/salinasr-cache")
|
x |
|
prioritize_cache |
|
cache_dir |
|
dataset_id |
|
metadata
object
tbl_df
: Method to obtain a metadata
object from a tbl_df
obtained from a metadata
object
in the event something occurred to the original metadata
object.
character
: Method to obtain a metadata
object from a dataset_id
.
metadata
: Method to print
metadata
object. Empty metadata
attributes are colored in red.
Brendan Knapp brendan.g.knapp@gmail.com
https://cityofsalinas.opendatasoft.com/explore/
1 2 3 4 5 6 7 | library(salinasr)
meta <- sal_get_metadata("bikeways")
meta
meta$description
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.