citsci-spatial-bias
Code for paper: "Assessing and Correcting Neighborhood Socioeconomic Spatial Sampling Biases in Citizen Science Mosquito Data Collection"
Science Score: 67.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 15 DOI reference(s) in README -
✓Academic publication links
Links to: zenodo.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (11.8%) to scientific vocabulary
Repository
Code for paper: "Assessing and Correcting Neighborhood Socioeconomic Spatial Sampling Biases in Citizen Science Mosquito Data Collection"
Basic Info
- Host: GitHub
- Owner: h-mip
- License: gpl-3.0
- Language: HTML
- Default Branch: main
- Size: 338 KB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 2
Metadata Files
README.md
Open Code for "Assessing and Correcting Neighborhood Socioeconomic Spatial Sampling Biases in Citizen Science Mosquito Data Collection"
This repository contains the code used for the paper: "Assessing and Correcting Neighborhood Socioeconomic Spatial Sampling Biases in Citizen Science Mosquito Data Collection".
The code is written in R in an isolated, portable, reproducible environment created with the renv package. After cloning the repository, run renv::restore() to create an environment identical to the one in which the code was written and tested. We rely on the targets package to organize the code as a set of functions in the R directory, which can be run as a pipeline using tar_make(). See the targets user manual for more details.
Directory Structure
```
│projectdir <- Project's main directory and Git
│ repository.
├── _targets <- Directory managed by the targets package for R.
| (Should not be modified manually.)
│
├── data <- Directory for all data on which pipeline relies.
| | Only .gitignore and README.md files are tracked
| | by Git (in order to preserve the directory), so
| | this directory must be populated manually.
| |
│ ├── external <- Open data from external providers. This data should
| | be downloaded before running pipeline (see Data
| | section below).
| |
│ ├── private <- Data that cannot be made open for privacy reasons.
| If you do not have access to this data, you should
| comment out the pipeline targets that rely on it.
│
├── figures <- Directory in which all plots and tables are written
| by the pipeline when it is run.
|
├── R <- Directory containing all of the R functions used in
| the targets pipeline. (This is the code to inspect
| in order to see how the analysis is done.)
│
├── renv <- Directory managed by the renv package. (Should
| not be modified manually.)
│
├── _targets.R <- R script that is used to control the targets
| pipeline.
│
├── .gitignore <- File telling Git which files and directories not to
| track.
|
├── .Rprofile <- Rprofile script that is run when you start R in
| this repository. You should modify lines 3 and 6
| based on your system paths.
|
├── CITATION.cff <- Machine-readable citation file.
|
├── LICENSE <- GPLv3 license.
|
├── README.md <- This file.
|
├── renv.lock <- File used by the renv library for keeping track of
| package versions. Do not modify this manually.
|
├── Dockerfile <- File for building docker image.
```
Data
All of the Mosquito Alert data used by this code is available in open access repositories hosted on Zenodo. The Mosquito Alert reporting data (all adult mosquito and mosquito bite reports as well as all expert-validated Ae. albopictus reports) is available at doi.org/10.5281/zenodo.10684357. The Mosquito Alert sampling effort data is available at doi.org/10.5281/zenodo.10674718. Both datasets are downloaded automatically from these locatations and processed by the pipeline.
The income and population data relied on here are available from the INE's Atlas de distribución de renta de los hogares. Census section geographic data is available from the INE's Digital Cartography Files. The weather data relied on in the Mosquito Trap Vector Model was taken from the Meteorological Service of Catalonia's API.
Funding
This research received funding from the ''la Caixa'' Foundation, under Grant HR19-00336, and from the European Research Council (ERC) under the European Union's Horizon 2020 research and innovation program (Grant agreement No. 853271).
License
This code is licensed under the GNU GENERAL PUBLIC LICENSE
Copyright 2024 Álvaro Padilla-Pozo & John R.B. Palmer
Open Code for "Assessing and Correcting Neighborhood Socioeconomic Spatial Sampling Biases in Citizen Science Mosquito Data Collection" is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses.
Owner
- Name: Human-Mosquito Interaction Project
- Login: h-mip
- Kind: organization
- Repositories: 3
- Profile: https://github.com/h-mip
Citation (CITATION.cff)
# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!
cff-version: 1.2.0
title: >-
Open Code for "Assessing and Correcting Neighborhood Socioeconomic
Spatial Sampling Biases in Citizen Science Mosquito Data
Collection"
message: >-
If you use this software, please cite it using the
metadata from this file.
type: software
authors:
- given-names: Álvaro
family-names: Padilla-Pozo
orcid: "https://orcid.org/0000-0002-2110-5309"
- given-names: John R.B.
family-names: Palmer
orcid: "https://orcid.org/0000-0002-2648-7860"
repository-code: >-
https://github.com/h-mip/mosquito-citizen-science-neighborhood-sampling-bias-code
abstract: >-
R code used for the paper: "Assessing and Correcting
Neighborhood Socioeconomic Spatial Sampling Biases in
Citizen Science Mosquito Data Collection."
license: GPL-3.0
GitHub Events
Total
Last Year
Dependencies
- actions/checkout v4 composite
- docker/build-push-action 0565240e2d4ab88bba5387d719585280857ece09 composite
- docker/login-action 343f7c4344506bcbf9b4de18042ae17996df046d composite
- docker/metadata-action 96383f45573cb7f253c731d3b3ab81c87ef81934 composite
- docker/setup-buildx-action f95db51fddba0c2d1ec667646a06c2ce06100226 composite
- sigstore/cosign-installer 59acb6260d9c0ba8f4a2f9d9b48431a222b68e20 composite
- rocker/r-ver 4 build