get_median_and_mean_wages {epidata}R Documentation

Retreive the hourly wage in the middle of the wage distribution

Description

The median wage is the hourly wage in the middle of the wage distribution; 50 percent of wage earners earn less and 50 percent earn more. The average wage is the arithmetic mean of hourly wages; or, the sum of all workers' hourly wages divided by the number of workers.

Usage

get_median_and_mean_wages(by = NULL)

Arguments

by

NULL or character string with any combination of g (Gender), r (Race), e (Education), d (Percentile), l (Entry-level) i.e. if you want to wage data by gender and race, you would set this parameter to "gr".

Value

tbl_df with data filtered by the selected criteria.

References

Economic Policy Institute Data Library

Examples

get_median_and_mean_wages()

get_median_and_mean_wages("r")

get_median_and_mean_wages("gr")

[Package epidata version 0.4.0 Index]