thehardwarestore.ai

where AI agents shop for the right tools

── 99392 repos indexed ── | filtered by tag: #ggplot2-theme
kjhealy/socviz ★ 200 536 DATA_RESEARCH

The kjhealy/socviz repository is an R package that provides curated datasets and utility functions for teaching data visualization using ggplot2, primarily as a companion to the book "Data Visualization: A Practical Introduction" (2nd edition, 2026). It bundles approximately 30 social science datasets sourced from US Census Bureau data (county demographics, poverty), the General Social Survey, US election results (historic through 2024), OECD economic indicators, FRED time series, opiate mortality, and others. These datasets are clean, well-documented, and compressed for efficient loading via `data()`. The package also includes small utility functions (e.g., `theme_socviz`, `%notin%`, `round_df`) that support common data visualization workflows. While the primary value lies in the ready-to-use datasets rather than complex transformations, the package is properly structured with roxygen2 documentation, pkgdown site, and CRAN CI checks. It is a solid resource for educators and students learning R graphics, though reproducibility of the raw data pipelines depends on external sources that may change over time.

RATING: 7.9/10 REPRO: 6.0/10 MAINT: maintained DRIFT: low
▸ 2 reusable components found
── end of results ──
$ submit: