nyt_token: Set API token

Description Usage Examples

Description

The function stores the token in an environment, which allows the package functions to access the key, without the need of an token argument, which must be typed each time the function is used. Another reason to store the token this way is that there is no need to store the token in a variable, which would be stored in the Rhistory file.

Usage

1

Examples

1
## Not run: nyt_token()

elben10/Rnewyorktimes documentation built on May 31, 2019, 3:54 a.m.