prepare_batch_json: Pepare Batch Json

Description Usage Arguments Examples

View source: R/algolia.R

Description

Pepare Batch Json

Usage

1
2
prepare_batch_json(config = create_config(), threshold_kb = 10,
  encoding = "UTF-8", ...)

Arguments

config

config as retrieved by create_config() (default: create_config())

threshold_kb

(default: 10), 10 KB is threshold for free Algolia usage, 20 KB for paid for details: https://www.algolia.com/doc/faq/basics/is-there-a-size-limit-for-my-index-records/

encoding

encoding (default: "UTF-8")

...

additional arguments passed to jsonlite::read_json()

Examples

1
2
3
4
## Not run: 
batch_json <- prepare_batch_json()

## End(Not run)

KWB-R/algoliar documentation built on Sept. 9, 2019, 3:16 p.m.