hirs_search: Search

View source: R/search.R

hirs_searchR Documentation

Search

Description

Search

Usage

hirs_search(index, body, column_attrs = NULL, slices = NULL, raw = FALSE,
  ...)

Arguments

index

(character) A character vector of index names

body

a named list passed to HTTP body

column_attrs

column attributes

slices

slices

raw

If TRUE (default), data is parsed to list. If FALSE, then raw JSON.

...

Curl args passed on to crul::HttpClient

References

https://www.pilosa.com/docs/latest/api-reference/

Examples

## Not run: 
hirs_search("repository", 'Bitmap(frame="language", rowID=5)')
hirs_search("repository", 'Bitmap(frame="language", rowID=5)', 
   columnAttrs = TRUE, slices = "0,1")
hirs_search("repository", 'Count(Bitmap(frame="stargazer", rowID=10))')

# error
# hirs_search("repository", 
#  'Union(Bitmap(frame="stargazer", stargazer_id=1), Bitmap(frame="stargazer", stargazer_id=2))')

## End(Not run)

ropenscilabs/hirsutosa documentation built on May 11, 2022, 6:50 a.m.