Description Usage Arguments Examples
Search for NYT articles by keywords, filters and facets.
1 2 3 4 5 6 7 8 9 10 11 12 |
q |
Search query. |
since, until |
Begin and start |
pages |
Number of pages of results to return. Set to infinite ( |
sort |
Sort order |
facets |
Whether to show facet counts, boolean. |
facet_fields |
The following values are allowed: |
facet_filter |
Have facet counts use filters, boolean. |
fl |
List of fields to return. |
fq |
Query filter. |
1 2 3 4 5 | ## Not run:
nytimes_key("xXXxxXxXxXXx")
trump <- ny_search("Trump", since = Sys.Date() - 3)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.