getGeo: Returns geographic information about a location string

Description Usage Arguments Author(s) Examples

Description

getGeo connects to the Data Science Tool Kit and converts the location string into a pair of coordinates, and then into information (city, state, country, congressional district...) for those coordinates

Usage

1
2
3
getGeo(location, verbose = FALSE,
  rdstk = "http://www.datasciencetoolkit.org",
  twofishes = "http://demo.twofishes.net/?autocomplete=true&maxInterpretations=1&")

Arguments

location

location string for which information is desired

verbose

If TRUE, provides additional information on console.

rdstk

URL for data science toolkit

twofishes

URL for twofishes geocoder

Author(s)

Pablo Barbera pablo.barbera@nyu.edu

Examples

1
2
3
4
5
## Not run: 
## Download geographic information for "New York"
 getGeo("New York")

## End(Not run)

SMAPPNYU/smappR documentation built on May 9, 2019, 11:19 a.m.