get_black_white_wage_gap {epidata} | R Documentation |
Retreive the percent by which hourly wages of black workers are less than hourly wages of white workers
Description
The black-white wage gap is the percent by which hourly wages of black workers are less than hourly wages of white workers. It is also often expressed as a wage ratio (black workers' share of white workers' wages) by subtracting the gap from 100 percent.
Usage
get_black_white_wage_gap(by = NULL)
Arguments
by |
|
Details
A median black-white wage gap of 26.2 percent means that a typical black worker is paid 26.2 percent less per hour than a typical white worker.
An average black-white wage gap of 26.6 percent means that on average black workers are paid 26.6 percent less per hour than white workers.
A regression-based black-white wage gap of 15.2 percent means that on average black workers are paid 15.2 percent less per hour than white workers, all else held equal (controlling for gender, race and ethnicity, education, experience, and geographic location).
Value
tbl_df
with data filtered by the selected criteria.
References
Economic Policy Institute Data Library
Examples
if (not_dos()) get_black_white_wage_gap()
if (not_dos()) get_black_white_wage_gap("g")