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