Learn R Programming

epidata (version 0.4.0)

get_gender_wage_gap: Retreive the percent by which hourly wages of female workers are less than hourly wages of male workers

Description

The gender wage gap is the percent by which hourly wages of female workers are less than hourly wages of male workers. It is also often expressed as a wage ratio (women's share of men's wages) by subtracting the gap from 100 percent.

Usage

get_gender_wage_gap(by = NULL)

Arguments

by

NULL or r for a parition by race

Value

tbl_df with data filtered by the selected criteria.

Details

  • A median gender wage gap of 17.3 percent means that a typical woman is paid 17.3 percent less per hour than a typical man.

  • An average gender wage gap of 19.7 percent means that on average women are paid 19.7 percent less per hour than men.

  • A regression-based gender wage gap of 21.7 percent means that on average women are paid 21.7 percent less per hour than men, 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_gender_wage_gap()

if (not_dos())
get_gender_wage_gap("r")
# }

Run the code above in your browser using DataLab