| Type: | Package |
| Title: | Tidy RSS for R |
| Version: | 2.0.7 |
| Maintainer: | Robert Myles McDonnell <robertmylesmcdonnell@gmail.com> |
| Description: | With the objective of including data from RSS feeds into your analysis, 'tidyRSS' parses RSS, Atom and JSON feeds and returns a tidy data frame. |
| URL: | https://github.com/RobertMyles/tidyrss |
| BugReports: | https://github.com/RobertMyles/tidyrss/issues |
| Encoding: | UTF-8 |
| License: | MIT + file LICENSE |
| Depends: | R (≥ 3.1.0) |
| Imports: | xml2 (≥ 1.3.1), httr(≥ 1.4.1), magrittr (≥ 1.5), tibble (≥ 3.0.0), dplyr (≥ 1.0.0), jsonlite (≥ 1.6.1), purrr (≥ 0.3.3), anytime(≥ 0.3.7), rlang (≥ 0.4.6), glue (≥ 1.4.0), vctrs (≥ 0.3.0), tidyselect (≥ 1.1.0) |
| Suggests: | httptest, knitr, rmarkdown, covr, testthat |
| RoxygenNote: | 7.2.0 |
| NeedsCompilation: | no |
| Packaged: | 2023-03-05 14:59:41 UTC; robert |
| Author: | Robert Myles McDonnell [aut, cre],
Jonathan Carroll [ctb],
Mike Smith [ctb],
Joseph Stachelek [ctb],
Andrew Frasier [ctb],
Tom Broekel [ctb],
Jeremy Gerdes [ctb],
Chung-hong Chan |
| Repository: | CRAN |
| Date/Publication: | 2023-03-05 15:20:02 UTC |
Pipe operator
Description
Pipe operator
Usage
lhs %>% rhs
Extract a tidy data frame from RSS, Atom and JSON feeds
Description
tidyfeed() downloads and parses rss feeds. The function
produces either a tidy data frame or a named list, easy to use for further
manipulation and analysis.
Usage
tidyfeed(
feed,
config = list(),
clean_tags = TRUE,
list = FALSE,
parse_dates = TRUE
)
Arguments
feed |
|
config |
Arguments passed off to |
clean_tags |
|
list |
|
parse_dates |
|
Note
tidyfeed() attempts to parse columns that should contain
dates. This can fail, as can be seen
here. If you need
lower-level control over the parsing of dates, it's better to leave
parse_dates equal to FALSE and then parse these yourself.
Author(s)
Robert Myles McDonnell, robertmylesmcdonnell@gmail.com
References
https://en.wikipedia.org/wiki/RSS
See Also
Examples
## Not run:
# Atom feed:
tidyfeed("http://journal.r-project.org/rss.atom")
# rss/xml:
tidyfeed("http://fivethirtyeight.com/all/feed")
# jsonfeed:
tidyfeed("https://daringfireball.net/feeds/json")
## End(Not run)