National Library of Norway Quantitative Text Data API Tools

Tools for accessing data from National Library of Norway's dhlab (digital humanities laboratory). Provides wrappers for accessing our API services at < https://api.nb.no/dhlab/>. To learn more about dhlab, visit out site < https://www.nb.no/dh-lab/>.


dhlabR

The goal of dhlabR is to provide access to National Library text data for quantitative analysis. It provides utility functions for requesting data from the dhlab api (api.nb.no/dhlab)

Installation

You can install the development version of dhlabR from GitHub with:

# install.packages("devtools")
devtools::install_github("NationalLibraryOfNorway/dhlabR")

Example

This is a basic example which shows you how to solve a common problem:

library(dhlabR)
# Get corpus

corpus = get_document_corpus(doctype="digibok", "author" = "Ibsen", limit=100)

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("dhlabR")

1.0.6 by Ingerid Dale, 2 years ago


Browse source code at https://github.com/cran/dhlabR


Authors: Ingerid Dale [aut, cre] , Lars Johnsen [aut, cph] , Lars Tungland [aut] , Andre Kåsen [aut]


Documentation:   PDF Manual  


GPL (>= 3) license


Imports dplyr, httr, jsonlite, purrr, tibble, zoo

Suggests testthat


See at CRAN