call_lobid_api: Call lobid API

View source: R/scraping-parsing.R

call_lobid_apiR Documentation

Call lobid API

Description

lobid offers three types of APIs: resources, organisations and gnd. See their respective docs at:

  • https://lobid.org/resources

  • https://lobid.org/organisations

  • https://lobid.org/gnd

Usage

call_lobid_api(
  query,
  parameter = NULL,
  verbose = TRUE,
  as_list = FALSE,
  lobid_api_type = "resources"
)

Arguments

query

string

parameter

string, e.g. isbn

verbose

if TRUE, then url printed to console

as_list

default: FALSE. If TRUE then json is converted to a R list, otherwise just url

lobid_api_type

lobid offers 3 types of APIs: resources, organisations and gnd as well as a direct search for an entity via GND_ID gnd_id_search; defaults to resources

Value

list

Examples

## Not run: 
call_lobid_api(3894090685, query = ., parameter = "isbn")

## End(Not run)

cutterkom/kabrutils documentation built on July 3, 2022, 4:04 p.m.