Pepare Batch Json
prepare_batch_json(config = create_config(), threshold_kb = 10, encoding = "UTF-8", ...)
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() |
if (FALSE) { batch_json <- prepare_batch_json() }