DACSS 601: HW1

Introduction to R

Snehal Prabhu
2/2/2022
library(readr)
data <- read_csv(file="C:/Users/sneha/Downloads/railroad_2012_clean_state.csv")
head(data)
# A tibble: 6 x 2
  state total_employees
  <chr>           <dbl>
1 AE                  2
2 AK                103
3 AL               4257
4 AP                  1
5 AR               3871
6 AZ               3153
colnames(data)
[1] "state"           "total_employees"