as.location: Convert a path or URL to a location object.

Description Usage Arguments Examples

Description

Convert a path or URL to a location object.

Usage

1

Arguments

x

Input.

...

Ignored.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## 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)


Search within the geojsonio package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.