get_document_corpus {dhlabR} | R Documentation |
Get Document Corpus
Description
Retrieve a corpus of documents based on the given parameters.
Usage
get_document_corpus(
doctype = "digibok",
author = NULL,
ddk = NULL,
freetext = NULL,
subject = NULL,
from_timestamp = NULL,
to_timestamp = NULL,
publisher = NULL,
limit = 10,
order_and_limit_by_rank = NULL,
title = NULL,
from_year = NULL,
to_year = NULL,
fulltext = NULL,
lang = "nob"
)
Arguments
doctype |
Character, document type (default: 'digibok') |
author |
Character, author name (default: NULL) |
ddk |
Character, Dewey Decimal Classification (default: NULL) |
freetext |
Character, free text search (default: NULL) |
subject |
Character, subject of the document (default: NULL) |
from_timestamp |
Character, timestamp range start (default: NULL) |
to_timestamp |
Character, timestamp range end (default: NULL) |
publisher |
Character, publisher name (default: NULL) |
limit |
Integer, maximum number of results (default: 10) |
order_and_limit_by_rank |
Logical, order and limit results by rank (default: NULL) |
title |
Character, title of the document (default: NULL) |
from_year |
Integer, year range start (default: NULL) |
to_year |
Integer, year range end (default: NULL) |
fulltext |
Character, full text search (default: NULL) |
lang |
Character, language code (default: 'nob') |
Value
A data frame of metadata
Examples
get_document_corpus(doctype = 'digibok', author = 'Henrik Ibsen', limit = 2)