Package: tidyindex 0.1.0.9000

tidyindex: A Tidy Data Pipeline to Construct, Compare, and Analyse Indexes

Construct and analyse indexes in a pipeline tidy workflow. 'tidyindex' contains modules for transforming variables, aggregating variables across time, reducing data dimension through weighting, and fitting distributions. A manuscript describing the methodology can be found at <https://github.com/huizezhang-sherry/paper-tidyindex>.

Authors:H. Sherry Zhang [aut, cre, cph], Dianne Cook [aut], Ursula Laa [aut], Nicolas Langrené [aut], Patricia Menéndez [aut]

tidyindex_0.1.0.9000.tar.gz
tidyindex_0.1.0.9000.zip(r-4.5)tidyindex_0.1.0.9000.zip(r-4.4)tidyindex_0.1.0.9000.zip(r-4.3)
tidyindex_0.1.0.9000.tgz(r-4.4-any)tidyindex_0.1.0.9000.tgz(r-4.3-any)
tidyindex_0.1.0.9000.tar.gz(r-4.5-noble)tidyindex_0.1.0.9000.tar.gz(r-4.4-noble)
tidyindex_0.1.0.9000.tgz(r-4.4-emscripten)tidyindex_0.1.0.9000.tgz(r-4.3-emscripten)
tidyindex.pdf |tidyindex.html
tidyindex/json (API)
NEWS

# Install 'tidyindex' in R:
install.packages('tidyindex', repos = c('https://huizezhang-sherry.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/huizezhang-sherry/tidyindex/issues

Datasets:
  • aqi - Air Quality Index
  • aqi_ref_tbl - Air Quality Index
  • aus_climate - Weather data for in-situ stations in Queensland from 1990 to 2020
  • gggi - Global Gender Gap Index
  • gggi_weights - Global Gender Gap Index
  • hdi - Human Development Index
  • hdi_scales - Human Development Index
  • pollutant_ref_tbl - Air Quality Index
  • queensland - Weather data for in-situ stations in Queensland from 1990 to 2020
  • tenterfield - Weather data for in-situ stations in Queensland from 1990 to 2020

On CRAN:

33 exports 2 stars 1.91 score 43 dependencies 12 scripts 175 downloads

Last updated 1 months agofrom:282885eee0. Checks:OK: 1 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 12 2024
R-4.5-winNOTESep 12 2024
R-4.5-linuxNOTESep 12 2024
R-4.4-winNOTESep 12 2024
R-4.4-macNOTESep 12 2024
R-4.3-winNOTESep 12 2024
R-4.3-macNOTESep 12 2024

Exports:add_parasaggregate_geometricalaggregate_linearaggregate_manualcompute_indexesdimension_reductiondist_gammadist_gevdist_glodist_pe3distribution_fitidx_ediidx_rdiidx_speiidx_spiinitnorm_quantilenormaliserescale_centerrescale_minmaxrescale_zscorerescalingswap_exprsswap_valuestemporal_aggregatetemporal_rolling_windowtheme_benchmarktrans_affinetrans_cubic_roottrans_log10trans_quadratictrans_square_rootvariable_trans

Dependencies:anytimeBHclicolorspacecpp11dplyrellipsisfansifarvergenericsggplot2gluegtableisobandlabelinglatticelifecyclelubridatemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigpurrrR6RColorBrewerRcpprlangscalesstringistringrtibbletidyrtidyselecttimechangetsibbleutf8vctrsviridisLitewithr

AQI Demo

Rendered fromaqi_demo.Rmdusingknitr::rmarkdownon Sep 12 2024.

Last update: 2024-08-13
Started: 2024-08-01

tidyindex

Rendered fromtidyindex.Rmdusingknitr::rmarkdownon Sep 12 2024.

Last update: 2023-11-10
Started: 2023-11-10

Readme and manuals

Help Manual

Help pageTopics
Add parameters to an index table objectadd_paras
Air Quality Index (AQI)aqi aqi_ref_tbl pollutant_ref_tbl
Calculate multiple indexes at onceaugment.idx_res compute_indexes
The dimension reduction moduleaggregate_geometrical aggregate_linear aggregate_manual dimension_reduction
The distribution fit moduledistribution_fit dist_gamma dist_gev dist_glo dist_pe3
Global Gender Gap Index (2023)gggi gggi_weights
Human Development Index (2022)hdi hdi_scales
Initialise the tidyindex pipelineinit print.idx_tbl
The normalise modulenormalise norm_quantile
The rescaling modulerescale_center rescale_minmax rescale_zscore rescaling
Testing alternativesswap_exprs swap_values
The temporal processing moduletemporal_aggregate temporal_rolling_window
Weather data for in-situ stations in Queensland from 1990 to 2020aus_climate queensland tenterfield
A ggplot2 theme for benchmarking the index seriestheme_benchmark
Drought-related index functionsidx_edi idx_rdi idx_spei idx_spi trans_thornthwaite
The variable transformation moduletrans_affine trans_cubic_root trans_log10 trans_quadratic trans_square_root variable_trans