Learn R Programming

feedeR (version 0.0.10)

feed.extract: Extract data from feeds

Description

Read feed metadata and entries.

Usage

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

Run this code
# 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")
# }

Run the code above in your browser using DataLab