getCurrentTopMediaByLocationMapping: Get Current Top Media By Location ID

Description Usage Arguments Value Examples

View source: R/getCurrentTopMediaByLocationMapping.R

Description

Gets the top 9 media posts for a location with the given location ID.

Usage

1

Arguments

mapping

A location mapping following the format of createLocationMapping()

...

Additional options passed to a shinyAppDir

Value

(9*n)x14 DF where n is the number of locations in mapping:
id, thumbnail_src, thumbnail_resources, is_video, code, date,
display_src, video_views, caption, dimensions.height, dimensions.width,
owner.id, comments.count, likes.count

Examples

1
2
3
4
5
## Not run: 
mapping <- createLocationMapping("United States", "New York")
getCurrentTopMediaByLocationMapping(mapping)

## End(Not run)

AFIT-R/instaExtract documentation built on May 18, 2019, 8:11 p.m.