Skip to content

Supplementary Tools for Climate and Health Research in VA

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

le-huynh/chva.extras

Repository files navigation

chva.extras

R-CMD-check Lifecycle: stable DOI

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.

Installation

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.

Functions

See Package index for full list of functions.

  1. 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.
  1. 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.
  1. 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()
  1. Support visualization
  • plot_contour_dlnm(): Generate a filled contour plot for DLNM output with custom color levels.

Acknowledgements

This R package was produced with support from the UVA Environmental Institute through the Strategic Investment Fund.

About

Supplementary Tools for Climate and Health Research in VA

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Languages