get_md_open_data | R Documentation |
Wrap getdata::get_open_data to access the Maryland Open Data portal. The source url can be set with an option named "mapmaryland.open_data_source_url" but it defaults to the statewide open data portal https://opendata.maryland.gov The token type can be set with an option named "mapmaryland.open_data_token_type" but it defaults to "MARYLAND_OPEN_DATA_API_KEY".
get_md_open_data(
resource = NULL,
type = NULL,
crs = getOption("mapmaryland.crs", default = 3857),
geometry = FALSE,
token = NULL,
...
)
resource |
Resource identifier code passed to "data" parameter of getdata::get_open_data |
type |
Type of data to return. Supported options: "crashes", "road closures", "bay pollution reduction" |
crs |
Coordinate reference system of bounding box to return; defaults to
|
geometry |
If |
token |
Optional access token or API Key to pass to
|
... |
Arguments passed on to
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.