~hrbrmstr/epidata

ref: dc17d09a82427dfd2aadefdc7701fe872c6b320a epidata/man/get_wage_ratios.Rd -rw-r--r-- 1.4 KiB
dc17d09ahrbrmstr fix CRAN errors 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/gaps.r
\name{get_wage_ratios}
\alias{get_wage_ratios}
\title{Retreive the level of inequality within the hourly wage distribution.}
\usage{
get_wage_ratios(by = NULL)
}
\arguments{
\item{by}{\code{NULL} or character string with any combination of \code{g} (Gender) or
\code{r} (Race), i.e. if you want to retrieve
unemployment data by gender and race, you would set this parameter to "\code{gr}".}
}
\value{
\code{tbl_df} with data filtered by the selected criteria.

data frame
}
\description{
The 95–50 and 50–10 wage ratios are representations of the level of inequality within
the hourly wage distribution. The larger the ratio, the greater the gap between the
top and the middle or the middle and the bottom of the wage distribution.
}
\details{
\itemize{
\item{A 50–10 wage ratio of 1.91 means that workers at the 50th percentile of the wage
      distribution are paid 1.91 times more per hour than the workers at the 10th percentile.}
\item{A 95–50 wage ratio of 3.28 means that workers at the 95th percentile of the wage
      distribution are paid 3.28 times more per hour than the workers at the 50th percentile.}
}
}
\examples{
if (not_dos()) get_wage_ratios()

if (not_dos()) get_wage_ratios("r")

if (not_dos()) get_wage_ratios("gr")
}
\references{
\href{https://www.epi.org/data/}{Economic Policy Institute Data Library}
}