Skip to contents

Data Query

Query HMIS indicator data by name, regex, or fuzzy match

get_hmis()
Query HMIS Data
compute_nmr()
Compute Neonatal Mortality Rate (NMR)
add_calendar_vars()
Add Calendar Variables

Indicator Discovery

Browse and search available indicators

list_indicators()
List HMIS Indicators
search_indicators()
Search HMIS Indicators by Keyword
list_states()
List HMIS States
list_districts()
List HMIS Districts

Datasets

Bundled metadata datasets

hmis_indicators
HMIS Indicator Metadata
hmis_district_indicators
HMIS District-Level Indicator Metadata
hmis_districts
HMIS District Names
hmis_states
HMIS State and Union Territory Names
hmis_seasonality
Seasonal HMIS Indicators

Visualization

Plot HMIS data with colorblind-safe palettes

plot_time_series()
Plot HMIS time series
plot_heatmap()
Plot HMIS heatmap
plot_scatter()
Plot HMIS scatter plot
plot_state_month_heatmap()
State-by-month heatmap with normalization and ordering options
plot_seasonal_range()
Plot Seasonal Range (Dumbbell Plot)
theme_hmis()
Minimal ggplot2 theme for HMIS plots
labs_hmis()
HMIS Label Helper

Periodicity Analysis

Detect and decompose seasonal patterns

detect_periodicity() plot(<hmis_periodicity>)
Detect periodicity in a time series
detect_periodicity_ls() plot(<hmis_ls_periodicity>)
Detect periodicity using the Lomb-Scargle periodogram
decompose_series()
Decompose a time series into trend, seasonal, and residual components

Geography

LGD spatial boundaries and state name normalization

get_boundaries()
Get Administrative Boundaries
attach_geometry()
Attach Geometry to HMIS Data
clear_geometry_cache()
Clear Cached Geometry Files
normalize_state_name()
Normalize a state name to its canonical form

Utilities

get_parquet_path()
Get path to the state-level parquet file
get_district_parquet_path()
Get path to the district parquet dataset
parse_monyear()
Parse a "Mon YYYY" string to a Date
sanitize_indicator_name()
Sanitize indicator names by fixing known spelling errors
normalize_district_name()
Normalize a district name to its canonical form