get_document: Retrieve a single document

View source: R/index.R

get_documentR Documentation

Retrieve a single document

Description

Retrieve a single document

Usage

get_document(index, doc_id, fields, credentials = NULL)

Arguments

index

The index to get fields for

doc_id

A single document_id

fields

Optional character vector listing the fields to retrieve

credentials

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

Value

A tibble with one row containing the requested fields


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