Final Take-Home Assignment
For the last assignment, your task is to complete all of the provided exercises and submit your solutions as a reproducible report.
You can collect a maximum of 70 points that will be added to what you collected for the previous assignments (max. 100 points overall). Overall appearance and reproducibility of the output is essential, make sure to submit a flawless and consistent report, down to the last detail (including descriptive captions for all tables and figures, consistent variable names and legends, appropriate color scales that match the HMTL theme, …).
When you are done, please submit your output (HTML and/or PDF), as well as the code and supplementary files needed to reproduce it (only what is required, excluding the raw data):
- Upload a ZIP-file of everything required and the output in a folder
docs
, using the upload area on ILIAS. - Optional: Publish your HTML output as a website (using QuartoPub, Netlify, Github pages, etc.); upload a replication package on Github, generate a DOI with Zenodo and link to the most recent version in your report.
The deadline is 19 January. Please do not hesitate to reach out if you have questions.
Bon Courage!
Instructions
To begin, start a new RStudio project in a folder and prepare the following files (use your files from assignment 3):
_quarto.yml
: Enter your name, adjust the HTML theme and the PDF setup as you like. Some PDF settings are provided in two separate files:before_body.tex
: This file contains the code for the title page. Name and date are taken from_quarto.yml
, here you can change other text and the logo (UFR_Siegel_Blau.png
andUFR_Wortmarke.pdf
).include-in-header.tex
: Additional LaTeX settings and packages.
index.qmd
: The first chapter and start page.exercise1.qmd
: The exercises. Enter you solutions here.references.qmd
: The chapter showing the list of references cited fromreferences.bib
, as well as a paragraph citing the version of R and the packages used. Updategrateful_refs.bib
and check before submission. For a different citation and bibliography style, replacethe-quarterly-journal-of-economics.csl
and update_quarto.yml
accordingly.Readme.md
describes the files
Make sure to update all relevant sections, including references and the README.md
description of how to reproduce your report.
To generate the HTML and PDF book, go to the terminal and enter quarto render
. All files will be saved in the folder docs
(you can change the output directory in line 3 of _quarto.yml
).1.
Footnotes
If you are logged into your quarto-pub account, typing
quarto publish quarto-pub
will render your project and publish it as a website (alternative options include Netlify or GithubPages). Setting the project type towebsite
ormanuscript
would provide additional flexibility↩︎