es.catcount: Agreggating count by a specific variable

Description Usage Arguments Value Examples

View source: R/EScatcount.R

Description

Agreggating count by a specific variable

Usage

1
es.catcount(credential, variable, size, arrange_count = T)

Arguments

credential

the url create by function es.credential

variable

a string variable, must be a factor variable

size

limit rows to extract

arrange_count

order results by a variable or count. Default T, which mean by count.

Value

a data frame contains a specific variables

Examples

1
2
3
4
5
6
 es.catsum(
  my_credential,
  "factor1",
  10,
  T
 )

GabrielSartori/elasticR documentation built on Jan. 12, 2020, 12:50 a.m.