tidyfeed: Extract a tidy data frame from RSS and Atom and JSON feeds

Description Usage Arguments Author(s) References Examples

View source: R/tidyfeed.R

Description

tidyfeed() downloads and parses rss feeds. The function produces a tidy data frame, easy to use for further manipulation and analysis.

Usage

1
tidyfeed(feed, sf = TRUE)

Arguments

feed

(character). The url for the feed that you want to parse.

sf

. If TRUE, returns sf dataframe.

Author(s)

Robert Myles McDonnell, [email protected]

References

https://en.wikipedia.org/wiki/RSS

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## 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")
# georss:
tidyfeed("http://www.geonames.org/recent-changes.xml")

## End(Not run)

RobertMyles/tidyRSS documentation built on Nov. 11, 2018, 2:26 p.m.