Description Usage Arguments Value Examples
Parses object returned by nyt_search into data frame.
1 | data.frame.search(x, ..., force = TRUE)
|
x |
Response object from get_nyt |
... |
Passed to data frame generic. |
force |
Logical indicating whether to force data into
a data frame. Depending on the request, a few columns may
come out ugly with recursive variables forced into non-
recursive format by separating each entry with |
Returns data frame.
1 2 3 4 5 6 | ## Not run:
nyt <- nyt_search("political+polarization", n = 100)
nytdat <- as.data.frame(nyt)
head(nytdat)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.