Description Usage Arguments Author(s) See Also Examples
Excerpt from the website: "With the NYTimes Article Search API, you can search New York Times articles from 1981 to today, retrieving headlines, abstracts, lead paragraphs, links to associated multimedia and other article metadata. Along with standard keyword searching, the API also offers faceted searching. The available facets include Times-specific fields such as sections, taxonomic classifiers and controlled vocabulary terms (names of people, organizations and geographic locations)." Feed retrieval is limited to 1000 items (or 100 pages).
1 2 3 4 |
query |
character specifying query to be used to search NYTimes articles |
n |
number of items, defaults to 100 |
appid |
Developer App id to be used, obtained from http://developer.nytimes.com/ |
sleep |
integer; Seconds to sleep between feed retrieval. |
params |
additional query parameters, specified as list, see http://developer.nytimes.com/docs/read/article_search_api |
curlOpts |
CURLOptions; RCurl options used for feed retrieval. |
... |
additional parameters to |
Mario Annau
1 2 3 4 5 | ## Not run:
#nytimes_appid needs to be specified
corpus <- WebCorpus(NYTimesSource("Microsoft", appid = nytimes_appid))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.