Description Usage Arguments Value Examples
View source: R/getLocationsInRange.R
Gets the top 9 media posts for a location with the given location ID.
1 | getLocationsInRange(mapping, r, lat, long, ...)
|
mapping |
A location mapping in the form generated by createLocationMapping |
r |
Radius of search from give coordinates |
lat |
Double for latitude of search center |
long |
Double for longitude of search center |
... |
Additional options passed to a shinyAppDir |
n x 9 DF where n is the number of locations in the scope:
id, name, slug, city_ID, city_Name, city_slug,country_ID, country_Name, country_Slug
1 2 3 4 5 6 7 8 9 | ## Not run:
mapping <- createLocationMapping("United States", "New York", TRUE)
lat <- 40.7484
long <- 73.9857
radius <- 0.5 #miles
smaller_mapping <- getLocationsInRange(mapping, radius, lat, long)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.