Skip to content
Snippets Groups Projects
get_infobox.Rd 552 B
Newer Older
David Fuhry's avatar
David Fuhry committed
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{get_infobox}
\alias{get_infobox}
\title{Extract the inforbox contents from wikipedia articles}
\usage{
get_infobox(article)
}
\arguments{
\item{article}{Character vector containing the contents of an wikipedia
article as html}
}
\value{
Data frame holding the contents of the table
}
\description{
Extract the inforbox contents from wikipedia articles
}
\examples{
\dontrun{
articles <- get_data()

infobox <- get_infobox(articles$Text[54])

infobox[3:4,]
}
}