Skip to contents

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()

Value

A Zotero-type matrix (tibble)

Details

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

Examples

# \donttest{
  # 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)
  }
#> # A tibble: 1 × 1
#>   name                                                                          
#>   <chr>                                                                         
#> 1 NOU 2001: 4 (2001) Helseopplysninger i arbeidslivet — Om innhenting bruk og o…
# }