Search the database

query_text(query, from_pos = 0, tidy = TRUE, full_text = FALSE)

Arguments

query

Specify the text query to send to elasticsearch.

from_pos

OPTIONAL Parameter to paginate through result.

tidy

Tidy the results into a nested tibble DEFAULT: TRUE.

full_text

OPTIONAL Parameter to declare whether full text is available.

Value

tibble.

Examples

# Look for the term cotton.
if (FALSE) {
query_text(
   query ="cotton", 
   from_pos = 0, 
   tidy = TRUE
   )
}