Lesson

http://cities.github.io/datascience/import.html

Exercise

Link to the README file for the data

  1. What is the difference between a data.frame and tibble? How do you convert between them?
  2. Import the bike counts data for the three bridges in Microsoft Excel format;
  3. Import the Portland weather data in csv format;
  4. [Challenge] Import the Portland weather data in fixed width format;
  5. [Challenge] Import the iris dataset in Stata data format iris.dta;
  6. For those already familiar with R, create a R script that loads, cleans, and visualizes the bike counts data as well as temperature and precipitation data (using data from Weather Station USC00356750);

    for those not yet familiar with R, think about how you would go about doing these tasks with the software you are most comfortable with.

Sample code