ny_tags | R Documentation |
With the TimesTags API, you can mine the riches of the New York Times tag set. The TimesTags service matches your query to the controlled vocabularies that fuel NYTimes.com metadata. You supply a string of characters, and the service returns a ranked list of suggested terms.
ny_tags(q, filter = NULL, max = 25)
q |
Your search query. |
filter |
If you do not specify a value for filter (see the Optional Parameters),
your query will be matched to tags in all four Times dictionaries: subject ( |
max |
Maximum number of results to return. |
## Not run:
nytimes_key("xXXxxXxXxXXx")
trump <- ny_tags("Trump")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.