Learn R Programming

sociome (version 2.2.5)

Operationalizing Social Determinants of Health Data for Researchers

Description

Accesses raw data via API and calculates social determinants of health measures for user-specified locations in the US, returning them in tidyverse- and sf-compatible data frames.

Copy Link

Version

Install

install.packages('sociome')

Monthly Downloads

333

Version

2.2.5

License

MIT + file LICENSE

Maintainer

Nik Krieger

Last Published

December 6th, 2023

Functions in sociome (2.2.5)

acs_age_sex_race_ethnicity_vars

ACS variables for age, sex, race, and ethnicity
decennial_vars

Decennial census variable names for ADI calculation
lon_lat_from_area

Grab the longitude/latitude of the center of population of a census area
%>%

Pipe operator
get_adi

Get Area Deprivation Index (ADI) and Berg Indices (ADI-3)
get_areas_near_coordinates

Make a tibble of census areas closest to a user-specified center
acs_vars

ACS variable names for ADI and ADI-3 calculation
get_geoids

Obtain GEOIDs of areas
append_dissimilarities

Append list columns of Gower's distances and sampling weights to a data frame
calculate_adi

Calculate ADI and ADI-3 from census data.
synthetic_population

Create a synthetic population simulating US Census areas
decennial_age_sex_race_ethnicity_vars

Decennial Census variables for age, sex, race, and ethnicity
census_api_key

Census API Key installer