qualmap
R package for working with semi-structured qualitative GIS data
Science Score: 33.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
○codemeta.json file
-
○.zenodo.json file
-
✓DOI references
Found 2 DOI reference(s) in README -
✓Academic publication links
Links to: zenodo.org -
✓Committers with academic emails
1 of 4 committers (25.0%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (18.4%) to scientific vocabulary
Keywords
data-management
data-wrangling
gis
mapping
package
qualitative
qualitative-analysis
qualitative-gis
r
rstats
Last synced: 6 months ago
·
JSON representation
Repository
R package for working with semi-structured qualitative GIS data
Basic Info
- Host: GitHub
- Owner: chris-prener
- License: gpl-3.0
- Language: R
- Default Branch: main
- Homepage: https://chris-prener.github.io/qualmap/
- Size: 1.2 MB
Statistics
- Stars: 20
- Watchers: 2
- Forks: 3
- Open Issues: 0
- Releases: 3
Topics
data-management
data-wrangling
gis
mapping
package
qualitative
qualitative-analysis
qualitative-gis
r
rstats
Created almost 8 years ago
· Last pushed about 2 years ago
Metadata Files
Readme
Contributing
License
Code of conduct
README.Rmd
---
output: github_document
---
```{r, echo = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "README-"
)
```
# qualmap
[](https://github.com/chris-prener/qualmap/actions)
[](https://app.codecov.io/github/chris-prener/qualmap?branch=main)
[](https://cran.r-project.org/package=qualmap)
[](https://cran.r-project.org/web/checks/check_results_qualmap.html)
[](https://www.r-pkg.org:443/pkg/qualmap)
[](https://zenodo.org/badge/latestdoi/122496910)
The goal of `qualmap` is to make it easy to enter data from qualitative maps. `qualmap` provides a set of functions for taking qualitative GIS data, hand drawn on a map, and converting it to a simple features object. These tools are focused on data that are drawn on a map that contains some type of polygon features. For each area identified on the map, the id numbers of these polygons can be entered as vectors and transformed using `qualmap`.
## Motivation and Approach
Qualitative GIS outputs are notoriously difficult to work with because individuals' conceptions of space can vary greatly from each other and from the realities of physical geography themselves. `qualmap` builds on a semi-structured approach to qualitative GIS data collection. Respondents use a specially designed basemap that allows them free reign to identify geographic features of interest and makes it easy to convert their annotations into digital map features. This is facilitated by including on the basemap a series of polygons, such as neighborhood boundaries or census geography, along with an identification number that can be used by `qualmap`. A circle drawn on the map can therefore be easily associated with the features that it touches or contains.
`qualmap` provides a suite of functions for entering, validating, and creating `sf` objects based on these hand drawn clusters and their associated identification numbers. Once the clusters have been created, they can be summarized and analyzed either within R or using another tool.
This approach provides an alternative to either unstructured qualitative GIS data, which are difficult to work with empirically, and to digitizing respondents' annotations as rasters, which require a sophisticated workflow. This semi-structured approach makes integrating qualitative GIS with existing census and administrative data simple and straightforward, which in turn allows these data to be used as measures in spatial statistical models.
### *Cartographica* Article
An [article describing `qualmap`'s approach to qualitative GIS](https://doi.org/10.3138/cart-2020-0030) has been published in *Cartographica*. All data associated with the article are also available on [Open Science Framework](https://osf.io/pxzuc/), and the code are available via [Open Science Framework](https://osf.io/pxzuc/) and [GitHub](https://github.com/PrenerLab/sketch_mapping/). Please cite the paper if you use `qualmap` in your work!
## Installation
The easiest way to get `qualmap` is to install it from CRAN:
``` r
install.packages("qualmap")
```
You can install the development version of `qualmap` from [Github](https://github.com/chris-prener/qualmap) with the `remotes` package:
```r
# install.packages("remotes")
remotes::install_github("chris-prener/qualmap")
```
Note that installations that require `sf` to be built from *source* will require additional software regardless of operating system. You should check the [`sf` package website](https://r-spatial.github.io/sf/) for the latest details on installing dependencies for that package. Instructions vary significantly by operating system.
## Usage
`qualmap` implements six primary verbs for working with mental map data:
1. `qm_define()` - create a vector of feature id numbers that constitute a single "cluster"
2. `qm_validate()` - check feature id numbers against a reference data set to ensure that the values are valid
3. `qm_preview()` - plot cluster on an interactive map to ensure the feature ids have been entered correctly (the preview should match the map used as a data collection instrument)
4. `qm_create()` - create a single cluster object once the data have been validated and visually inspected
5. `qm_combine()` - combine multiple cluster objects together into a single tibble data object
6. `qm_summarize()` - summarize the combined data object based on a single qualitative construct to prepare for mapping
The [primary vignette](https://chris-prener.github.io/qualmap/articles/qualmap.html) contains an overview of the workflow for implementing these functions.
## Contributor Code of Conduct
Please note that this project is released with a [Contributor Code of Conduct](https://chris-prener.github.io/qualmap/CODE_OF_CONDUCT.html). By participating in this project you agree to abide by its terms.
Owner
- Name: Chris Prener
- Login: chris-prener
- Kind: user
- Location: St. Louis, MO
- Company: Pfizer
- Website: https://chris-prener.github.io
- Twitter: chrisprener
- Repositories: 6
- Profile: https://github.com/chris-prener
Director, Vaccines RWE Biocurator Scientist 🚀 and Sociologist interested in vaccines, health outcomes and disparities, geospatial data science, and demography
GitHub Events
Total
- Watch event: 3
Last Year
- Watch event: 3
Committers
Last synced: 10 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Christopher Prener | c****r@s****u | 158 |
| Chris Prener | c****r@g****l | 11 |
| Chris Prener | c****r@g****m | 4 |
| Mike Mahoney | m****8@g****m | 1 |
Committer Domains (Top 20 + Academic)
gmail.coml: 1
slu.edu: 1
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 5
- Total pull requests: 6
- Average time to close issues: over 1 year
- Average time to close pull requests: 3 days
- Total issue authors: 2
- Total pull request authors: 2
- Average comments per issue: 0.8
- Average comments per pull request: 0.0
- Merged pull requests: 6
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- mikemahoney218 (2)
- chris-prener (2)
Pull Request Authors
- chris-prener (3)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cran 316 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 4
- Total maintainers: 1
cran.r-project.org: qualmap
Opinionated Approach for Digitizing Semi-Structured Qualitative GIS Data
- Homepage: https://chris-prener.github.io/qualmap/
- Documentation: http://cran.r-project.org/web/packages/qualmap/qualmap.pdf
- License: GPL-3
-
Latest release: 0.2.2
published about 2 years ago
Rankings
Stargazers count: 14.2%
Forks count: 17.8%
Average: 28.5%
Dependent packages count: 29.8%
Dependent repos count: 35.5%
Downloads: 45.6%
Maintainers (1)
Last synced:
6 months ago
Dependencies
DESCRIPTION
cran
- R >= 3.5 depends
- dplyr * imports
- glue * imports
- leaflet * imports
- purrr * imports
- rlang * imports
- sf * imports
- covr * suggests
- ggplot2 * suggests
- knitr * suggests
- rmarkdown * suggests
- testthat * suggests
- tidycensus * suggests
- tigris * suggests
.github/workflows/R-CMD-check.yaml
actions
- actions/cache v3 composite
- actions/checkout v4 composite
- actions/upload-artifact master composite
- r-lib/actions/setup-pandoc v2-branch composite
- r-lib/actions/setup-r v2-branch composite
.github/workflows/pkgdown.yml
actions
- JamesIves/github-pages-deploy-action 4.1.4 composite
- actions/checkout v2 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite