getInforFromInput: get Infor From User Input

Description Usage Arguments Value References Examples

View source: R/getInforFromInput.R

Description

Loops over the vector of addressInfo and/or coordinates, passes each one of them as a parameter to an internal function that connects to the Google Geocoding API via URL and gets the output. Then it returns the output of the request into a formatted dataframe with the geocoding information.

Usage

1

Arguments

address

A character vector with of address/es and/or some coordinates (latitude and longitude)

Value

A data.frame containing the resulting longitude/s, latitude/s and address/es

References

Google Geocoding API - https://developers.google.com/maps/documentation/geocoding/intro

Examples

1
getInforFromInput(c("Spain", "smålandsvägen 42D, Linghem"))

nourqweder/RAPI documentation built on April 24, 2020, 6:21 p.m.