This page collects workshop materials, data sources and supplementary materials for the data-driven assignments in the Spring 2022 edition of International Macroeconomics at UCR. You can also access the related files directly on Github.
R is the programming language that you use when working with data. RStudio is a development environment that makes working with R much more convenient. Both are free to download and install.
To download R, go to cloud.r-project.org and follow the instructions on the page. To download RStudio, go to rstudio.com/products/rstudio/download, scroll down and download the file recommended for your operating system.
When installing, you can always stick to the default settings, unless you have different preferences.
In case you get stuck at any point, or would like more guidance in the installation process, feel free to check out any of the following links:
The assignment guidelines and the grading rubric are on Moodle.
The materials covered in the first Data Center workshop, including both code and explanations, can be found here.
filter()
,
select()
and the pipe operator(%>%
))ggplot
The assignment guidelines and the grading rubric are on Moodle.
You can find an example paper here.
The materials covered in the second Data Center workshop, including both code and explanations, can be found here.
Next to the links below, please check out the supporting materials provided for the first Data Center workshop.
Importing data
read_csv()
haven
readr
and readxl
(video)haven
(video)Data cleaning
mutate()
summarize()
rename()
Merging data