rtrek (version 0.2.0)

mb_article: Read Memory Beta article

Description

Read Memory Beta article content and metadata.

Usage

mb_article(url, content_format = c("xml", "character"),
  content_nodes = c("h2", "h3", "h4", "p", "b", "ul", "dl", "table"),
  browse = FALSE)

Arguments

url

character, article URL. Expects package-style short URL. See examples.

content_format

character, the format of the article main text, "xml" or "character".

content_nodes

character, which top-level nodes in the article main text to retain.

browse

logical, also open url in browser.

Value

a nested data frame

Details

Article content is returned in a nested, tidy data frame.

Examples

Run this code
# NOT RUN {
mb_article("Azetbur")
# }

Run the code above in your browser using DataLab