tabl: Attempt to coerce output to a single data.frame

View source: R/tabl.R

tablR Documentation

Attempt to coerce output to a single data.frame

Description

Attempt to coerce output to a single data.frame

Usage

tabl(x, source_only = TRUE, n = 10)

Arguments

x

Input

source_only

(logical) Return source only?

n

(integer) Count to print.

Details

Note that this may not always succeed, as we can't predict what various ways your data in formatted in your Elasticsearch instance.

Examples

## Not run: 
elastic::connect()

index("shakespeare") %>%
  prefix(speaker = "we") %>%
  size(200) %>% tabl()

x <- index("shakespeare") %>%
  filter() %>%
  range(line_number <= 20) %>%
  size(200) %>%
  exec
x %>% tabl()

## End(Not run)

ropensci/elasticdsl documentation built on May 18, 2022, 9:53 a.m.