ZoteroGov {c2z}R Documentation

Wrangle regjeringen.no metadata into Zotero-type format

Description

Query regjeringen by search word and type and fetch metadata

Usage

ZoteroGov(search, type = "NOU", meta = list(), silent = TRUE, log = list())

Arguments

search

Search term (e.g., 2018: 2)

type

type of query (e.g., white paper, official norwegian reports), Default: "NOU"

meta

A list collecting all metadata used to create , Default: list()

silent

c2z is noisy, tell it to be quiet, Default: TRUE

log

A list for storing log elements, Default: list()

Details

Please see https://oeysan.github.io/c2z/

Value

A Zotero-type matrix (tibble)

See Also

RETRY reexports bind, arrange

Examples


  # Search the default entity, Norwegian official reports in regjeringen.no
  example <- ZoteroGov("2001:4")
  # Print index using `ZoteroIndex`
  if (any(nrow(example$data))) {
  ZoteroIndex(example$data) |>
    dplyr::select(name) |>
    print(width = 80)
  }


[Package c2z version 0.2.0 Index]