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"

Reuse

Text and figures are licensed under Creative Commons Attribution CC BY-NC 4.0. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".

Citation

For attribution, please cite this work as

Prabhu (2022, Feb. 3). Data Analytics and Computational Social Science: DACSS 601: HW1. Retrieved from https://github.com/DACSS/dacss_course_website/posts/httprpubscomsnehalhw/

BibTeX citation

@misc{prabhu2022dacss,
  author = {Prabhu, Snehal},
  title = {Data Analytics and Computational Social Science: DACSS 601: HW1},
  url = {https://github.com/DACSS/dacss_course_website/posts/httprpubscomsnehalhw/},
  year = {2022}
}