ny_movie_search: Search Movie

Description Usage Arguments Examples

View source: R/movies.R

Description

Search for movie reviews.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
ny_movie_search(
  q,
  picks = FALSE,
  pages = 1,
  opening_since = NULL,
  opening_until = NULL,
  order = NULL,
  publication_since = NULL,
  publication_until = NULL,
  reviewer = NULL
)

Arguments

q

Search keyword (e.g. lebowski).

picks

Set to TRUE to only show critics' picks. Otherwise shows both.

pages

Number of pages of results to fetch, set to Inf to retrieve all.

opening_since, opening_until

Date range as Date objects.

order

Field to order results by (e.g. by-publication-date).

publication_since, publication_until

Review publication date range as Date objects.

reviewer

Filter by reviewer byline (e.g. Stephen Holden).

Examples

1
2
3
4
5
## Not run: 
nytimes_key("xXXxxXxXxXXx")
reviews <- ny_movie_search("wars", pages = 2)

## End(Not run)

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