Learn R Programming

epidata (version 0.4.0)

get_hispanic_white_wage_gap: Retreive the percent by which hourly wages of Hispanic workers are less than hourly wages of white workers

Description

The Hispanic-white wage gap is the percent by which hourly wages of Hispanic workers are less than hourly wages of white workers. It is also often expressed as a wage ratio (Hispanic workers' share of white workers' wages) by subtracting the gap from 100 percent.

Usage

get_hispanic_white_wage_gap(by = NULL)

Arguments

by

NULL or g for a parition by gender

Value

tbl_df with data filtered by the selected criteria.

Details

  • A median Hispanic-white wage gap of 29.6 percent means that a typical Hispanic worker is paid 29.6 percent less per hour than a typical white worker.

  • An average Hispanic-white wage gap of 30.1 percent means that on average Hispanic workers are paid 30.1 percent less per hour than white workers.

  • A regression-based Hispanic-white wage gap of 11.1 percent means that on average Hispanic workers are paid 11.1 percent less per hour than white workers, all else held equal (controlling for gender, race and ethnicity, education, experience, and geographic location).

References

Economic Policy Institute Data Library

Examples

Run this code
# NOT RUN {
if (not_dos()) get_hispanic_white_wage_gap()

if (not_dos()) get_hispanic_white_wage_gap("g")
# }

Run the code above in your browser using DataLab