fix errors from refactoring and add documentation to all remaining functions in analyze.R
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/repair.R
|
||||
\name{lookup_speaker}
|
||||
\alias{lookup_speaker}
|
||||
\title{Lookup name in speakers table}
|
||||
\usage{
|
||||
lookup_speaker(tb, speaker, name_variable)
|
||||
}
|
||||
\arguments{
|
||||
\item{tb}{tibble}
|
||||
|
||||
\item{speaker}{tibble}
|
||||
|
||||
\item{name_variable}{name
|
||||
|
||||
Tries to match the name_variable column with speaker names
|
||||
|
||||
returns a lookup table}
|
||||
}
|
||||
\description{
|
||||
Tries to find the correct speaker id given a name.
|
||||
This is sufficient since every prename lastname combination in the bundestag is
|
||||
unique (luckily :D)
|
||||
}
|
||||
Reference in New Issue
Block a user