knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

This is a gentle introduction on how to use this package to request NTD data from the ESPEN portal. For example, if you want to request STH data in Nigeria for a certain period of time, say 2010-2015. See below the code to use.

library(ESPENAPI)
data  <- ESPEN_API_data(country="Nigeria", disease="sth", level="sitelevel", start_year=2010, end_year=2015)
head(data)[,1:5] # view the subset of the data and just 5 columns


olatunjijohnson/ESPENAPI documentation built on Dec. 31, 2020, 1:07 a.m.