Description
National Library of Norway Quantitative Text Data API Tools.
Description
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/>.
README.md
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)