Description Usage Arguments Value Examples
get_story
returns news stories by their id. One story represents
one online publication. Each story refers to a single URL from any feed
within a single media source.
1 | get_story(story_id, api_key = Sys.getenv("MEDIACLOUD_API_KEY"))
|
story_id |
Positive numeric that contains a valid story id. |
api_key |
Character string with the API key you get from mediacloud.org. Passing it is compulsory. Alternatively, function can be provided from the global environment. |
Data frame with results. See https://github.com/berkmancenter/mediacloud/blob/master/doc/api_2_0_spec/api_2_0_spec.md#stories for field descriptions.
1 2 3 4 | ## Not run:
story <- get_story(story_id = 604L)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.