lemma_writer: updated to provide support for writing raw documents to individual files using utf-8 encoding
parent
115297f597
commit
889e7e92af
@ -1,29 +0,0 @@
|
||||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/actor_aggregation.R
|
||||
\name{actor_aggregation}
|
||||
\alias{actor_aggregation}
|
||||
\title{Generate aggregated actor measures from raw data}
|
||||
\usage{
|
||||
actor_aggregation(row, actors, es_pwd, localhost,
|
||||
default_operator = "OR", sent_dict = NULL, cores = detectCores())
|
||||
}
|
||||
\arguments{
|
||||
\item{row}{The row of the actors data frame used for aggregation}
|
||||
|
||||
\item{actors}{The data frame containing actor data}
|
||||
|
||||
\item{es_pwd}{The password for read access to ES}
|
||||
|
||||
\item{localhost}{Boolean indicating if the script is running locally or not}
|
||||
|
||||
\item{default_operator}{String indicating whether actor aggregations should be made by searching for the presence of any of the actor ids (OR), or all of them (AND). Defaults to OR}
|
||||
}
|
||||
\value{
|
||||
No return value, data per actor is saved in an RDS file
|
||||
}
|
||||
\description{
|
||||
Generate aggregated actor measures from raw data
|
||||
}
|
||||
\examples{
|
||||
actor_aggregation(row, actors, es_pwd, localhost, default_operator = 'OR')
|
||||
}
|
@ -1,24 +0,0 @@
|
||||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/aggregator.R
|
||||
\name{aggregator}
|
||||
\alias{aggregator}
|
||||
\title{Aggregator function, to aggregate actor results}
|
||||
\usage{
|
||||
aggregator(id, actor_df, merge_id)
|
||||
}
|
||||
\arguments{
|
||||
\item{id}{Article id of the article for which actor aggregation should be done}
|
||||
|
||||
\item{actor_df}{The dataframe containing the actor data}
|
||||
|
||||
\item{merge_id}{The actorid that should be assigned to the merged result}
|
||||
}
|
||||
\value{
|
||||
A dataframe with the merged results
|
||||
}
|
||||
\description{
|
||||
Aggregator function, to aggregate actor results
|
||||
}
|
||||
\examples{
|
||||
aggregator(id, actor_df, merge_id)
|
||||
}
|
@ -1,28 +0,0 @@
|
||||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/aggregator_elastic.R
|
||||
\name{aggregator_elastic}
|
||||
\alias{aggregator_elastic}
|
||||
\title{Generate and store aggregate actor measures to elasticsearch}
|
||||
\usage{
|
||||
aggregator_elastic(out, localhost = F, actorids, ver, es_super)
|
||||
}
|
||||
\arguments{
|
||||
\item{out}{The output provided by elasticizer()}
|
||||
|
||||
\item{localhost}{Boolean indicating if the script should run locally, or remote}
|
||||
|
||||
\item{actorids}{List of actorids used in the search, should be the same as the actorids used for elasticizer()}
|
||||
|
||||
\item{ver}{String indicating the version of the update}
|
||||
|
||||
\item{es_super}{Write password for ES}
|
||||
}
|
||||
\value{
|
||||
Return value is based on output of elastic_update()
|
||||
}
|
||||
\description{
|
||||
Generate and store aggregate actor measures to elasticsearch
|
||||
}
|
||||
\examples{
|
||||
aggregator_elastic(out, localhost = F, actorids, ver, es_super)
|
||||
}
|
Loading…
Reference in new issue