get.longlat: Wrapper for google_geocode from the googleway package.

View source: R/get.longlat.R

get.longlatR Documentation

Wrapper for google_geocode from the googleway package.

Description

A Google Maps API Key is required for this function, which can be obtained at https://cloud.google.com/maps-platform/ (credit card details need to be provided but it can be used for free for a certain limit of queries)

Usage

get.longlat(place = "Alice Springs, Australia", key = 'your key')

Arguments

place

String describing the location, e.g. "Alice Springs, Australia"

key

Your API key

Value

longlat The longitude and latitude in decimal degrees


mrke/NicheMapR documentation built on April 3, 2024, 10:05 a.m.