inegi_denue: Returns DENUE businesses

Description Usage Arguments Value Author(s) Examples

View source: R/v3_denue.R

Description

Returns data.frame with businesses registered in DENUE in the vicinity of supplied coordinates.

Usage

1
inegi_denue(latitud, longitud, token, meters = 250, keyword = "todos")

Arguments

latitud

Character vector with latitud (in decimals)

longitud

Character vector with longitud (in decimals)

token

API token supplied by INEGI

meters

Meters to search in a circle from coordinates. Defaults to 250

keyword

Keyword to search in business description (in spanish). Defaults to all (todos).

Value

Data.frame

Author(s)

Eduardo Flores

Examples

1
2
3
4
5
6
7
8
# All businesses in a 1 km radius from the Macroplaza in Monterrey, Mex.
## Not run: 
token<-"webservice_token"
latitud<- 25.669194
longitud<- -100.30990
businesses <- inegi_denue(latitud, longitud, token, meters = 1000)

## End(Not run)

inegiR documentation built on July 14, 2019, 5:02 p.m.