An open API service indexing awesome lists of open source software.

https://github.com/avallecam/covid_seroprev

Analysis code for the article: "SARS-CoV-2 prevalence associated to low socioeconomic status and overcrowding in an LMIC megacity: A population-based seroepidemiological survey in Lima, Peru"
https://github.com/avallecam/covid_seroprev

lima peru population prevalence serological-surveys workflow

Last synced: 4 months ago
JSON representation

Analysis code for the article: "SARS-CoV-2 prevalence associated to low socioeconomic status and overcrowding in an LMIC megacity: A population-based seroepidemiological survey in Lima, Peru"

Awesome Lists containing this project

README

          

---
output: github_document
---

```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>"
)
```
# covid_seroprev

[![DOI](https://zenodo.org/badge/301889893.svg)](https://zenodo.org/badge/latestdoi/301889893)

The goal of `covid_seroprev` is to register the data management and statistical
analysis workflow used for the project and manuscript:
__"Prevalence of SARS-CoV-2 in Lima, Peru: a population-based
seroepidemiological survey"__

## Project Workflow

### Files:

- `Encuesta ESPI_fisico.xlsx`: XLSForm used to collect data.
- `01-clean.R`: import, clean and integration of data sources. recategorize and create variables.
- `06-prevalence.R`: estimate prevalence.
- `07-outputs.R`: create tables and figures.
- `11-sampling_comparison.R`: contrast census and sample population.
- `13-epicurve.R`: create epicurve from open data.
- `15-distributions.R`: exploratory ecdf for overcrowding.
- `16-association.R`: calculate association measurements.

### Reproducibility:

To reproduce this project from `06-prevalence.R` onwards, you need the `uu_clean_data.rds` file stored in the `data/` folder. This data source is not available in this repository.

For reproducible workflow examples of the analysis performed in this project
go to the:

- [serosurvey](https://avallecam.github.io/serosurvey/) R package website to generate prevalence estimates as in `06-prevalence.R`, and
- [epitidy](https://github.com/avallecam/epitidy) R package repository to calculate association measurements as in `16-association.R`.

### Required packages:

Call `renv::restore()` to reinstall all of the packages used in this project. Learn more about `renv` [here](https://rstudio.github.io/renv/).