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

Description Usage Arguments Examples

View source: R/as.location.R

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
11
12
## Not run: 
# A file
file <- system.file("examples", "zillow_or.geojson",
  package = "geojsonlint")
as.location(file)

# A URL
url <- paste0("https://raw.githubusercontent.com/glynnbird/",
  "usstatesgeojson/master/california.geojson")
as.location(url)

## End(Not run)

geojsonlint documentation built on Feb. 13, 2020, 9:06 a.m.