You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mamlr/man/actor_fetcher.Rd

36 lines
1.1 KiB

% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/actor_fetcher.R
\name{actor_fetcher}
\alias{actor_fetcher}
\title{Generate actor data frames (with sentiment) from database}
\usage{
actor_fetcher(
out,
sent_dict = NULL,
actor_ids = NULL,
cores = 1,
localhost = NULL,
validation = F
)
}
\arguments{
\item{out}{Data frame produced by elasticizer}
\item{sent_dict}{Optional dataframe containing the sentiment dictionary and values. Words should be either in the "lem_u" column when they consist of lemma_upos pairs, or in the "lemma" column when they are just lemmas. The "prox" column should either contain word values, or NAs if not applicable.}
\item{actor_ids}{Optional vector containing the actor ids to be collected}
\item{cores}{Number of threads to use for parallel processing}
\item{validation}{Boolean indicating whether human validation should be performed on sentiment scoring}
}
\value{
No return value, data per batch is saved in an RDS file
}
\description{
Generate actor data frames (with sentiment) from database
}
\examples{
actor_fetcher(out, sent_dict = NULL, cores = 1)
}