Description Usage Arguments See Also Examples
The function returns a tibble as default, which contains all New York Times articles of the specified year and month. Articles are available from 1851 and up to the present year and month.
1 | nyt_archieve(month = 1, year = 1970, tibble = TRUE)
|
month |
the desired month provided as a wholenumber |
year |
the desired year provided as a wholenumber |
tibble |
if TRUE the API result is formatted and returned as a tibble, else a complete response is provided |
nyt_token
1 | ## Not run: nyt_archieve(month = 1, year = 1970) #Remember to set token
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.