size: Specify how many documents to return

View source: R/size.R

sizeR Documentation

Specify how many documents to return

Description

Specify how many documents to return

Usage

size(.data, size)

from(.data, from)

Arguments

.data

Input

size

(numeric) number of documents to return

Examples

## Not run: 
index("gbif") %>% size(1)
index("gbif") %>% size(0)
index("gbif") %>% size(300)

index("gbif") %>% size(1)
index("gbif") %>% size(1) %>% from(1)

## End(Not run)

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