Преглед на файлове

update man

genderequality-alternative
flavis преди 4 години
родител
ревизия
12452df224
променени са 4 файла, в които са добавени 9 реда и са изтрити 9 реда
  1. +1
    -1
      man/join_speaker.Rd
  2. +4
    -2
      man/read_all.Rd
  3. +3
    -3
      man/repair.Rd
  4. +1
    -3
      man/word_usage_by_date.Rd

+ 1
- 1
man/join_speaker.Rd Целия файл

@@ -14,7 +14,7 @@ join_speaker(tb, res, fraction_only = F)
\item{fraction_only}{if TRUE, only select fraction from the resulting joined tibble \item{fraction_only}{if TRUE, only select fraction from the resulting joined tibble


left join speaker information from res$speaker into tb. left join speaker information from res$speaker into tb.
if fraction_only}
if fraction_only, drop all columns but fraction}
} }
\description{ \description{
add information from speaker table to a tibble containing speaker id add information from speaker table to a tibble containing speaker id


+ 4
- 2
man/read_all.Rd Целия файл

@@ -4,10 +4,12 @@
\alias{read_all} \alias{read_all}
\title{Parse xml records} \title{Parse xml records}
\usage{ \usage{
read_all(path = "inst/records/")
read_all(path = "inst/records/", pattern = "-data\\\\.xml")
} }
\arguments{ \arguments{
\item{path}{character}
\item{path}{path to records directory}

\item{pattern}{search pattern to find records in directory}
} }
\description{ \description{
Creates a list of tibbles containing relevant information from all records Creates a list of tibbles containing relevant information from all records


+ 3
- 3
man/repair.Rd Целия файл

@@ -4,14 +4,14 @@
\alias{repair} \alias{repair}
\title{Repair parsed tables} \title{Repair parsed tables}
\usage{ \usage{
repair(parse_output, repair_comments = FALSE)
repair(parse_output, lookup_speaker = FALSE)
} }
\arguments{ \arguments{
\item{parse_output}{tibble} \item{parse_output}{tibble}


\item{repair_comments}{bool
\item{lookup_speaker}{bool


If repair_comments is TRUE, members of the parliament mentioned in comments are looked up in speaker table.
If lookup_speaker is TRUE, members of the parliament mentioned in comments are looked up in speaker table.


Possible test: check identical(repair(res), repair(repair(res))) == TRUE Possible test: check identical(repair(res), repair(repair(res))) == TRUE
Since repaired tables should be a fixpoint of repair.} Since repaired tables should be a fixpoint of repair.}


+ 1
- 3
man/word_usage_by_date.Rd Целия файл

@@ -4,15 +4,13 @@
\alias{word_usage_by_date} \alias{word_usage_by_date}
\title{Word usage summarised by date} \title{Word usage summarised by date}
\usage{ \usage{
word_usage_by_date(res, patterns, name, tidy = F)
word_usage_by_date(res, patterns, tidy = F)
} }
\arguments{ \arguments{
\item{res}{List of Tibbles to be analysed.} \item{res}{List of Tibbles to be analysed.}


\item{patterns}{Words to look up.} \item{patterns}{Words to look up.}


\item{name}{?}

\item{tidy}{default is FALSE.} \item{tidy}{default is FALSE.}
} }
\description{ \description{


Loading…
Отказ
Запис