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.

get_median_and_mean_wages(by = NULL)

Arguments

by
NULL or character string with any combination of g (Gender) or r (Race), i.e. if you want to retrieve unemployment data by gender and race, you would set this parameter to "gr".

Value

tbl_df with data filtered by the selected criteria.

References

http://www.epi.org/data/

Examples

## Not run: ------------------------------------ # get_median_and_mean_wages() # # get_median_and_mean_wages("r") # # get_median_and_mean_wages("gr") ## ---------------------------------------------