Introduction to R

This is the content for the CSIRO Data School introduction to R. It is heavily based on the SWC gapminder lesson, but has been restructured to suit the format and time availability of the Data School.

Prerequisites

There are no skill prerequisites for the course aside from a general knowledge of working with data

Schedule

Setup Download files required for the lesson
09:30 1. Introduction to R and R Studio How do you find your way around RStudio?
How do you interact with R?
10:00 2. Using R What can R do?
How can I install new packages?
11:05 3. Data What are the basic data types in R?
How can I collect data together?
How can I store data of different types?
12:00 4. Getting help in R How can I get help in R?
12:20 5. Reading Data In How can I get data into R?
13:05 6. Tidy Data How can I use a consistent underlying data structure?
13:35 7. Dataframes What is a dataframe?
Why use a dataframe as a tidy data structure?
14:15 8. Selecting columns How can I select specific columns from a data frame to work with?
14:40 9. Extract rows How can I extract rows from a data frame based on their values?
15:05 10. Creating New Columns How can I create new columns of data in my data frame?
How do I deal with a data frame made up of different groups?
15:50 11. Summarise and Grouping How can I make summaries of groups of data?
How can I count the elements of groups in a dataset?
16:30 12. Adding and Combining Datasets How can I combine multiple datasets?
How can I merge datasets that have a common variable?
17:30 13. Putting it all together How can I use multiple data verbs together?
How should I plan my data analysis?
18:20 14. Gather & Spread How can I change the format of dataframes?
19:05 15. Cleaning Data How can I process data that is untidy/inconsistent/missing parts?
19:50 16. Writing Data How do I write data to disk after working in R?
20:10 17. Reproducibility How can I ensure my code is reproducible?
21:05 Finish

The actual schedule may vary slightly depending on the topics and exercises chosen by the instructor.