Package: socviz 2.0.0

socviz: Utilities and Data Sets for Data Visualization

Supporting materials for a course and book on data visualization. It contains utility functions for graphs and several sample data sets. See Healy (2019) <ISBN 978-0691181622>.

Authors:Kieran Healy [aut, cre]

socviz_2.0.0.tar.gz
socviz_2.0.0.zip(r-4.7)socviz_2.0.0.zip(r-4.6)socviz_2.0.0.zip(r-4.5)
socviz_2.0.0.tgz(r-4.6-any)socviz_2.0.0.tgz(r-4.5-any)
socviz_2.0.0.tar.gz(r-4.7-any)socviz_2.0.0.tar.gz(r-4.6-any)
socviz_2.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
socviz/json (API)

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

Bug tracker:https://github.com/kjhealy/socviz/issues

Pkgdown/docs site:https://kjhealy.github.io

Datasets:
  • acs_poverty - US County Poverty Rates by Age Group
  • acs_poverty_lon - US County Poverty Rates by Age Group, Longer Version
  • asasec - American Sociological Association Section Membership
  • color_table - A table of hex color values related to types of color blindness
  • counties_sf - US County geometries and demographic data
  • county_comp - US County Components of Population Change
  • county_data - Census Data on US Counties
  • county_map - US County map file
  • edu - Years of school completed by people 25 years and over in the US.
  • election - US Presidential Election 2016, State-level results
  • election24 - US Presidential Election 2024, State-level results
  • election24_county_df - US County-level Presidential Election data, 2024
  • elections_historic - US Presidential Election vote shares
  • farsinvolved - Child Pedestrians involved in Fatal Motor Vehicle Crashes, 2009-2023
  • fredts - Monetary Base and S&P 500 series
  • gss_lon - General Social Survey data, 1972-2024
  • gss_sm - General Social Survey data, 2016
  • lawschools - US Law School Enrollments 1963-2015
  • maunaloa - Mauna Loa Atmospheric CO2 Concentration
  • oecd_le - Life Expectancy in the OECD, 1960-2023.
  • oecd_sum - Life Expectancy in the OECD, 1960-2023
  • okboomer - Monthly Births in the U.S., 1933-2015
  • opiates - Opiate-Related Deaths in the United States, 1999-2020
  • organdata - Organ donation in the OECD
  • states_sf - US State geometries
  • studebt - Student debt data
  • titanic - A table of survival rates from the Titanic
  • yahoo - Yahoo Revenue and Employees

On CRAN:

Conda:

7.47 score 198 stars 1000 scripts 708 downloads 12 exports 25 dependencies

Last updated from:c04dd36a38. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK129
source / vignettesOK183
linux-release-x86_64OK129
macos-release-arm64OK92
macos-oldrel-arm64OK113
windows-develOK114
windows-releaseOK91
windows-oldrelOK98
wasm-releaseOK106

Exports:%>%%nin%center_dfcolor_compcolor_palint_to_yearprefix_replaceprefix_stripround_dftheme_socviztheme_socviz_maptw_tab

Dependencies:base64encclicpp11farverggplot2gluegtableisobandjsonlitelabelinglifecyclemagrittrpillarpkgconfigR6RColorBrewerrlangS7scalessystemfontstibbleutf8vctrsviridisLitewithr

Readme and manuals

Help Manual

Help pageTopics
%nin%%nin%
US County Poverty Rates by Age Groupacs_poverty
US County Poverty Rates by Age Group, Longer Versionacs_poverty_lon
American Sociological Association Section Membershipasasec
center_dfcenter_df
Plot a table of color hex values as a table of colorscolor_comp
Draw a palette of colorscolor_pal
A table of hex color values related to types of color blindnesscolor_table
US County geometries and demographic datacounties_sf
US County Components of Population Changecounty_comp
Census Data on US Countiescounty_data
US County map filecounty_map
Years of school completed by people 25 years and over in the US.edu
US Presidential Election 2016, State-level resultselection
US Presidential Election 2024, State-level resultselection24
US County-level Presidential Election data, 2024election24_county_df
US Presidential Election vote shareselections_historic
Child Pedestrians involved in Fatal Motor Vehicle Crashes, 2009-2023farsinvolved
Monetary Base and S&P 500 seriesfredts
General Social Survey data, 1972-2024gss_lon
General Social Survey data, 2016gss_sm
int_to_yearint_to_year
US Law School Enrollments 1963-2015lawschools
Mauna Loa Atmospheric CO2 Concentrationmaunaloa
Life Expectancy in the OECD, 1960-2023.oecd_le
Life Expectancy in the OECD, 1960-2023oecd_sum
Monthly Births in the U.S., 1933-2015okboomer
Opiate-Related Deaths in the United States, 1999-2020opiates
Organ donation in the OECDorgandata
prefix_replaceprefix_replace
prefix_stripprefix_strip
round_dfround_df
US State geometriesstates_sf
Student debt datastudebt
A ggplot2 theme for socviztheme_socviz
A map theme for socviztheme_socviz_map
A table of survival rates from the Titanictitanic
Quickly make a two-way table of proportions (percentages)tw_tab
Yahoo Revenue and Employeesyahoo