riverview.csv

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:


Preview

# Import Data
city = readr::read_csv(file = "https://raw.githubusercontent.com/zief0002/rustic-penguin/main/data/riverview.csv")

# View data
city
# A tibble: 32 × 5
   education income seniority gender     party      
       <dbl>  <dbl>     <dbl> <chr>      <chr>      
 1         8   26.4         9 female     Independent
 2         8   37.4         7 Not female Democrat   
 3        10   34.2        16 female     Independent
 4        10   25.5         1 female     Republican 
 5        10   47.0        14 Not female Democrat   
 6        12   46.5        11 female     Democrat   
 7        12   52.5        16 female     Independent
 8        12   37.7        14 Not female Democrat   
 9        12   50.3        24 Not female Democrat   
10        14   32.6         5 female     Independent
# ℹ 22 more rows


References

Lewis-Beck, C., & Lewis-Beck, M. (2016). Applied regression: An introduction (2nd ed.). Thousand Oaks, CA: Sage.