get_documents: Retrieve multiple documents using a purrr map over...

View source: R/index.R

get_documentsR Documentation

Retrieve multiple documents using a purrr map over get_document

Description

Retrieve multiple documents using a purrr map over get_document

Usage

get_documents(index, doc_ids, fields, credentials = NULL, ...)

Arguments

index

The index to get fields for

doc_ids

A vector of document_ids

fields

Optional character vector listing the fields to retrieve

credentials

The credentials to use. If not given, uses last login information

...Other

options to pass to map, e.g. .progress

Value

A tibble with one row containing the requested fields


ccs-amsterdam/amcat4r documentation built on April 17, 2025, 3:22 a.m.