getMediaByLocationMapping: Get Media By Location Mapping

Description Usage Arguments Value Examples

View source: R/getMediaByLocationMapping.R

Description

Gets the n most recent media posts for all locations in a location mapping

Usage

1
getMediaByLocationMapping(mapping, n = 12, ...)

Arguments

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

Value

(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

Examples

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

## End(Not run)

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