Newer
Older
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/get_no_of_spouses.R
\name{get_no_of_spouses}
\alias{get_no_of_spouses}
\title{Reads the number of spouses from the infobox of an wikipedia article}
\usage{
get_no_of_spouses(article)
}
\arguments{
\item{article}{Wikipedia article in html format}
}
\value{
Integer indicating the number of spouses
}
\description{
Reads the number of spouses from the infobox of an wikipedia article
}
\examples{
\dontrun{
articles <- get_data()
no.spouses <- get_no_of_spouses(articles$Text[54])
no,spouses
}
}