View source: R/location_getSingleAddress_TexasAM.R
location_getSingleAddress_TexasAM | R Documentation |
Texas A&M APIs are used to determine the address associated with
the longitude
and latitude
.
location_getSingleAddress_TexasAM(
longitude = NULL,
latitude = NULL,
apiKey = NULL,
verbose = TRUE
)
longitude |
Single longitude in decimal degrees E. |
latitude |
Single latitude in decimal degrees N. |
apiKey |
Texas A&M Geocoding requires an API key. The first 2500 requests are free. |
verbose |
Logical controlling the generation of progress messages. |
Numeric elevation value.
https://geoservices.tamu.edu/Services/ReverseGeocoding/WebService/v04_01/HTTP.aspx
## Not run:
library(MazamaLocationUtils)
# Fail gracefully if any resources are not available
try({
# Wenatchee
longitude <- -122.47
latitude <- 47.47
apiKey <- YOUR_PERSONAL_API_KEY
location_getSingleAddress_TexasAM(longitude, latitude, apiKey)
}, silent = FALSE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.