Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jaromilfrossard/readshcs
Read Data from the Swiss HIV Cohort Study (SHCS)
https://github.com/jaromilfrossard/readshcs
Last synced: 13 days ago
JSON representation
Read Data from the Swiss HIV Cohort Study (SHCS)
- Host: GitHub
- URL: https://github.com/jaromilfrossard/readshcs
- Owner: jaromilfrossard
- License: other
- Created: 2022-09-27T09:17:46.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-11-08T14:41:24.000Z (about 2 years ago)
- Last Synced: 2024-11-13T05:41:21.443Z (2 months ago)
- Language: R
- Homepage: https://jaromilfrossard.github.io/readshcs/
- Size: 342 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.Rmd
- License: LICENSE
Awesome Lists containing this project
README
---
output: github_document
---```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```# readshcs
The package readshcs provides helper functions to read datasets of the [Swiss HIV Cohort Study](http://www.shcs.ch/) from a local directory.
## Installation
You can install the development version of readshcs from [GitHub](https://github.com/jaromilfrossard/readshcs) with:
``` r
# install.packages("devtools")
devtools::install_github("jaromilfrossard/readshcs")
```## Read SHCS data
You can read dataset from the SHCS using:
```{r example, eval=FALSE, include=TRUE}
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
- SHCS website: http://www.shcs.ch/