as.location | R Documentation |
Convert a path or URL to a location object.
as.location(x, ...)
x |
Input. |
... |
Ignored. |
## Not run:
# A file
file <- system.file("examples", "zillow_or.geojson", package = "geojsonio")
as.location(file)
# A URL
url <- "https://raw.githubusercontent.com/glynnbird/usstatesgeojson/master/california.geojson"
as.location(url)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.