Supplementary Tools for Climate and Health Research in VA
chva.extras is a collection of supplementary functions and templates
designed to support climate and health research in VA, including tools
for data manipulation, analysis, and visualization, tailored to handle
large datasets.
To get the latest in-development features, install the development version from GitHub:
if(!requireNamespace("devtools", quietly = TRUE)) {
install.packages("devtools")
}
devtools::install_github("le-huynh/chva.extras")This package is also accessible for download via Zenodo with the DOI 10.5281/zenodo.14910967.
See Package index for full list of functions.
- Convert files to Parquet format
get_parquet_arrow(): Convert multiple files to Parquet format.get_parquet_by_chunk(): Convert file to Parquet format by chunks.
- Support handy workflow
check_overview(): Provide an overview of datasets.check_unique_value(): Count unique values of a specified column.get_dataset(): Get full working datasets as a named list of Dataset R6 objects.recode_values(): Recode values based on grouping logic.
- Compute indices used in climate health research
- Humidity variables:
cal_absolute_humidity(),cal_dewpoint_temperature(),cal_mixing_ratio(),cal_relative_humidity(),cal_specific_humidity(). - Comfort indices:
cal_apparent_temperature(),cal_humidex(),cal_temperature_humidity_index(). cal_saturation_vapor_pressure()
- Support visualization
plot_contour_dlnm(): Generate a filled contour plot for DLNM output with custom color levels.
This R package was produced with support from the UVA Environmental Institute through the Strategic Investment Fund.
