Skip to contents

The package readshcs provides helper functions to read datasets of the Swiss HIV Cohort Study from a local directory.

Installation

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

# install.packages("devtools")
devtools::install_github("jaromilfrossard/readshcs")

Read SHCS data

You can read dataset from the SHCS using:

library(readshcs)
# set the directory of the SHCS
set_shcs_dir(file.path("path","to","directory"))

# read dataset with patients information (pat.csv)
data_pat <- read_shcs_pat()

Links