Code
# Import Data
= readr::read_csv(file = "https://raw.githubusercontent.com/zief0002/modeling/main/data/riverview.csv")
city
# View data
city
The data in riverview.csv come from Lewis-Beck & Lewis-Beck (2016) and contain five attributes collected from a random sample of \(n=32\) employees working for the city of Riverview, a hypothetical midwestern city. The attributes include:
education
: Years of formal educationincome
: Annual income (in thousands of U.S. dollars)seniority
: Years of senioritygender
: Employee’s genderparty
: Political party affiliation# Import Data
= readr::read_csv(file = "https://raw.githubusercontent.com/zief0002/modeling/main/data/riverview.csv")
city
# View data
city