powered by
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.
tidyfeed()
tidyfeed( feed, config = list(), clean_tags = TRUE, list = FALSE, parse_dates = TRUE )
character, the url for the feed that you want to parse, e.g. "http://journal.r-project.org/rss.atom".
character
Arguments passed off to httr::GET().
httr::GET()
logical, default TRUE. Cleans columns of HTML tags.
logical
TRUE
logical, default FALSE. Return metadata and content as separate dataframes in a named list.
FALSE
logical, default TRUE. If TRUE, tidyRSS will attempt to parse columns that contain datetime values, although this may fail, see note.
Robert Myles McDonnell, robertmylesmcdonnell@gmail.com
https://en.wikipedia.org/wiki/RSS
GET()
if (FALSE) { # 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") }
Run the code above in your browser using DataLab