geocoden: geocoden

View source: R/geocoden.R

geocodenR Documentation

geocoden

Description

this function geocodes the addresses of the sinave database using Geocoding API.

Usage

geocoden(infile, address)

Arguments

infile

is the name of the location that is being geocoded and is used to be saved in a file with extension rds.

address

is vector addresses.

Details

The function use the geocode of ggmap.

Value

a file with extension rds.

Note

The code for geocoding was taken from the personal page of Shane Lynn https://www.shanelynn.ie/massive-geocoding-with-r-and-google-maps/ and adapted to work with the sinave http://www.sinave.gob.mx/ database.

Author(s)

Felipe Antonio Dzul Manzanilla felipe.dzul.m@gmail.com

See Also

geocode


fdzul/denhotspots documentation built on Jan. 10, 2025, 2:34 a.m.