search_publisher: Finna Publisher Search

View source: R/search_publisher.R

search_publisherR Documentation

Finna Publisher Search

Description

This function retrieves only the publisher information from the Finna index based on the search query.

Usage

search_publisher(
  query = NULL,
  limit = 100,
  lng = "fi",
  filters = NULL,
  prettyPrint = FALSE
)

Arguments

query

A string specifying the search query.

limit

An integer specifying the total number of records to return.

lng

A string for the language of returned translated strings. Defaults to "fi".

filters

A vector of filter queries to refine the search. Defaults to NULL.

prettyPrint

A logical value indicating whether to pretty-print the JSON response. Defaults to FALSE.

Value

A tibble containing the record IDs and their respective publishers.

Examples

publishers <- search_publisher("sibelius", limit = 10)
print(publishers)

finna documentation built on April 4, 2025, 2:33 a.m.