RNYTimes-package: Access to the New York Times REST services

RNYTimes-packageR Documentation

Access to the New York Times REST services

Description

This package provides R functions to access content from the New York Times using its REST services.

Details

Package: RNYTimes
Version: 0.1-0
Imports: XML, RJSONIO
License: BSD
Built: R 2.11.0; ; 2009-10-03 16:54:38 UTC; unix

The function provides a function for each of several of the NY Times Web Services. One can search articles

You need a (different) key to access each API. These are obtained by requesting a key via the NY Times site developer.nytimes.com. You can specify the relevant key in each call, but it is more convenient to set them in the R options object and have the functions retrieve them as they are needed. You set the option named NYTimesAPI to a named character vector with entries for each of the APIs for which you have a key. The names should be "Best Sellers", "Newswire", "Tags", "Community", "Article Search". An example of setting these is options("NYTimesAPI" = c("Best Sellers" = "xxxxxxxxxxx:17:12345678", "Newswire" = "xadsda:10:372324576", "Tags" = "xxxxxxxxxxxxxx:14:12345678", Community = "xxxxxxxxxxxxx:9:12345678", "Article Search" = "xxxxxxxxxxxx:17:12345678"))

Author(s)

Duncan Temple Lang Maintainer: Duncan Temple Lang <duncan@r-project.org>

References

NY Times developer page


omegahat/RNYTimes documentation built on Nov. 29, 2023, 12:39 a.m.