community: Access user-generated NYTimes.com content

View source: R/NYTimes.R

communityR Documentation

Access user-generated NYTimes.com content

Description

This function allows us to access user-generate content on the NY Times, e.g. comments on articles.

Usage

community(what = "recent", match = "exact-match", ..., key = getOption("NYTimesAPI")["Community"])

Arguments

what

a string identifying which comments to retrieve, e.g. "recent", "random", "by-date/YYYY-MM-DD", "user/id/1234"

match

either "exact-match" or "closest-stem-match"

...

additional name=value pairs passed to the Web service request

key

the NY Times API key to access to the service

Author(s)

Duncan Temple Lang

References

http://developer.nytimes.com/docs/community_api


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