tibble or sf tibble.sal_get_dataset.RdImport a dataset as a tibble or sf tibble.
sal_get_dataset(metadata, prioritize_cache = TRUE, cache_dir = "~/salinasr-cache", ...)
| metadata | A |
|---|---|
| prioritize_cache |
|
| cache_dir |
|
| ... | Additional arguments to be passed to or from methods. |
tibble::tibble, which will also be an sf::st_sf object if
metadata refers to data marked as having "geo" features.
https://cityofsalinas.opendatasoft.com/explore/
library(salinasr) library(ggplot2) bikeways_sf <- sal_get_metadata("bikeways") %>% sal_get_dataset() bikeways_sf %>% ggplot() + geom_sf()