The openthl R package provides tools to work with THL Open API.

Installation

Install the current devel version in R:

devtools::install_github("ropengov/openthl")

Test the installation by loading the library:

library(openthl)

We also recommend setting the UTF-8 encoding:

Sys.setlocale(locale="UTF-8") 

Examples

library(openthl)

x <- thlSubject("epirapo") # S3 class "thlSubject" 
datasets <- thlDatasets(x) # S3 class "thlDatasets"

Licensing and Citations

This work can be freely used, modified and distributed under the open license specified in the DESCRIPTION file.

Kindly cite the work as follows

citation("openthl")

Session info

This vignette was created with

sessionInfo()


rOpenGov/openthl documentation built on Dec. 13, 2020, 5:49 a.m.