The dataset contains various demographic, education and work information of the employees of the US government. The data is taken from the 2018 US Census data.

gov_census

Format

A data frame with 204,309 rows and 10 variables:

sex

gender of the employee

age

employee age in years

race

race of the employee

hispanic_origin

indicator of hispanic origin

citizenship

citizenship of the employee

nativity

indicator of nativity to the US

marital

marital status

family_size

size of the employee's family

children

number of children of the employee

education_level

education level measured in years

english_level
salary

yearly salary in US dollars

hours_worked

hours worked every week

weeks_worked

weeks worked in the given year

occupation

occupation classification

industry

industry classification

economic_region

economic region where the person is employed in the US