Use the Tab and Up, Down arrow keys to select menu items.
This course develop students skills in data cleaning and processing, data integration techniques and implementing data wrangling workflows for a real world datasets.
Data wrangling is the iterative process of transforming data from a source format into a format suitable for storage, analysis, visualization, communication. The process is constrained by the requirement of preserving as much of the relevant information contained in the dataset, as well as ensuring an ethical treatment of the data subject, e.g., protecting their security and privacy. The course aims to provide the students the tools to handle different source formats (csvs, spreadsheets, web pages, apis, …), some target formats (long / wide data frames, packages, …) and a variety of data kinds (dates, numeric, strings, text, …). Wherever possible, the students will work on real-world datasets and ethical facets of data wrangling will be explicitly discussed in class. During the course, R will be the default programming language, and the use of JupyterLab and Rstudio strongly encouraged. Reference to other programming languages (Python, Julia) will be provided. Peer, group, and class interaction will be explicitly required during the course.
Having engaged in learning during the course, students will be able to:Access (read in) different data formats;Interact (manipulate) relational dataset (e.g., data frames) and hierarchical dataset (e.g., JSON);Output (write to) different data formats;Analyse a dataset in order to identify its format and possible errors;Analyse a data wrangling problem: identify the available source format(s); define the suitable target format(s) and the relevant ethical / technical constraints; develop a flow to transform data from source to target formats.
Subject to approval of the Head of Department of Mathematics and Statistics.
Students must attend one activity from each section.
Heyang (Thomas) Li
Giulio Dalla Riva
Data manipulation in R
[2 edition] ; Colour version;
Locke Data, 2017.
Domestic fee $1,051.00
International Postgraduate fees
* All fees are inclusive of NZ GST or any equivalent overseas tax, and do not include any programme level discount or additional course-related expenses.
For further information see
Mathematics and Statistics