Description Usage Arguments Value Examples
View source: R/07-query-mapquest.R
Many keyword values are "glocations". Here you write a file of lat-lon coordinates for every unique glocation keyword.
1 2 3 4 5 6 | nyt_query_mapquest_api(
unnested_df_values_fixed,
mapquest_folder = "mapquest",
api_key = Sys.getenv("MAPQUEST_KEY"),
nyt_user_agent = Sys.getenv("NYT_USER_AGENT")
)
|
unnested_df_values_fixed |
unnested df containing all glocation keywords |
mapquest_folder |
folder where to write mapquest output |
api_key |
"MAPQUEST_KEY" environmental variable |
nyt_user_agent |
"NYT_USER_AGENT" environmental variable |
file of glocation keywords and their lat-lon coordinates
1 2 3 4 | ## Not run:
nyt_query_mapquest_api(unnested_df_values_fixed)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.