Description Usage Arguments Value Examples
View source: R/getMediaByLocationMapping.R
Gets the n most recent media posts for all locations in a location mapping
1 | getMediaByLocationMapping(mapping, n = 12, ...)
|
mapping |
A location mapping following the format of createLocationMapping() |
n |
The number of results to retrieve for each location |
... |
Additional options passed to a shinyAppDir |
(n*m) x 17 dataframe where m is the number of locations in mapping:
comments_disabled, id, thumbnail_src, is_video, code, date, display_src,
video_views, caption, dimension.height, dimensions.width,
edge_media_preview_like.count, owner.id, comments.count,
likes.count, location_name, location_id
1 2 3 4 5 | ## Not run:
smapping <- createLocationMapping("United States", "New York")
getMediaByLocationMapping(mapping)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.