Read Memory Beta article content and metadata.
mb_article(url, content_format = c("xml", "character"), content_nodes = c("h2", "h3", "h4", "p", "b", "ul", "dl", "table"), browse = FALSE)
character, article URL. Expects package-style short URL. See examples.
character, the format of the article main text, "xml" or "character".
"xml"
"character"
character, which top-level nodes in the article main text to retain.
logical, also open url in browser.
url
a nested data frame
Article content is returned in a nested, tidy data frame.
# NOT RUN { mb_article("Azetbur") # }
Run the code above in your browser using DataLab