popular: Popular

Description Usage Arguments Functions Examples

Description

Provides services for getting the most popular articles on NYTimes.com based on emails, shares, or views.

Usage

1
2
3
4
5
6
7
ny_popular_emailed(period = 30)

ny_popular_shared(period = 30)

ny_popular_shared_type(period = 30, type = c("email", "facebook", "twitter"))

ny_popular_viewed(period = 30)

Arguments

period

Time period: 1, 7, or 30 days.

type

Share type: email, facebook, or twitter.

Functions

Examples

1
2
3
4
5
## Not run: 
nytimes_key("xXXxxXxXxXXx")
emailed <- ny_popular_emailed(7)

## End(Not run)

news-r/nytimes documentation built on Feb. 28, 2020, 4:49 a.m.