feed.extract: Extract data from feeds

Description Usage Arguments Value Examples

View source: R/read.R

Description

Read feed metadata and entries.

Usage

1
feed.extract(url, encoding = "UTF-8")

Arguments

url

URL for the feed.

encoding

Encoding use to read feed.

Value

A list containing the following elements:

- title: Title of the original site.

- link: A link to the original site.

- updated: When the feed was last updated.

- items: A data frame with records for each entry in the feed.

- hash: A hash key constructed from the post link. This is intended for easy indexing.

Examples

1
2
3
4
5
6
## Not run: 
feed.extract("https://feeds.feedburner.com/RBloggers")
feed.extract("http://journal.r-project.org/rss.atom")
feed.extract("http://www.valor.com.br/financas/mercados/rss", "ISO-8859-2")

## End(Not run)

feedeR documentation built on Oct. 23, 2020, 5:53 p.m.