fetchGeoFile: Fetch a geo- or topo-json hosted by Crunch

Description Usage Arguments Examples

Description

Fetch a geo- or topo-json hosted by Crunch

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
fetchGeoFile(geography, ...)

## S4 method for signature 'CrunchGeography'
fetchGeoFile(geography, ...)

## S4 method for signature 'CrunchVariable'
fetchGeoFile(geography, ...)

## S4 method for signature 'ANY'
fetchGeoFile(geography, ...)

Arguments

geography

a CrunchGeography object, generally obtained by using the geo function on a dataset variable that has geography data specified.

...

additional options to pass to geojson_read or topojson_read

Examples

1
2
3
4
## Not run: 
geo_data <- fetchGeoFile(geo(ds$country))

## End(Not run)

Crunch-io/crunchgeo documentation built on May 6, 2019, 10:52 p.m.