Description Usage Arguments Value Examples
View source: R/bulk_ecosdocs.R
The raw text of ESA docs can be rather large; rather than trying to hold all of the text for all docs in a single data.frame, then load the data.frame to Elastic in one fell swoop, we take a chunking approach. The raw text is read in to the data.frame with add_raw_txt for each doc in each 100-doc chunk, then that chunk is loaded using docs_bulk
1 | chunked_es_loading(df, index = "esadocs", type)
|
df |
A docs data.frame from |
index |
The index into which documents are loaded |
type |
The document type in df |
Nothing; chunking messages are printed during processing
1 2 3 4 | ## Not run:
chunked_es_loading(fr_dat, "esadocs", "federal_register")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.