---
title: "Econ 106 - Module 5 Exercise"
author: "Your Name"
date: "`r Sys.Date()`"
format: html
---
Course Title: Econ 106 Computer programming for economcis
Instructor: Christopher Llones
Exercise:Data analysis report with Quarto
Due Date: 20 May 2026
Submission link: Google form submission
Objective
Practice using Quarto documents to combine text, R code, and outputs. You will analyze the Netflix Movies & TV Shows dataset using dplyr and related tidyverse tools, while learning how to structure and render a .qmd file.
Set-up quarto document
Create a new Quarto document. Save it as netflix-exercise.qmd.
Add YAML metadata
- Write an introduction
## Introduction
This exercise demonstrates how to use Quarto for combining narrative text, R code, and outputs.
We will analyze the Netflix Movies & TV Shows dataset using tidyverse functions.- Load packages and dataset
library(dplyr)
library(ggplot2)
library(readr)
# Load dataset (adjust path if needed)
netflix <- read_csv("data/netflix_titles.csv")Answer the following questions with code chunks
List all unique types of content (e.g., Movie, TV Show).
Filter the dataset to show only TV Shows released in India. How many are there?
What are the top 5 most common ratings.
Which year had the most titles added to Netflix?
Group the data by
typeand count how many entries each type has. Group the data byrelease_yearand summarize the number of titles released per year. Which country has produced the most content on Netflix?From the available columns or variables in the dataset, create a data visualization and discuss.
Additional options for YAML
- Try the following YAML options to control the appearance or design of your quarto report. To learn more about the different ways how to design your quarto document, you may refer to this quarto HTML basics.
---
title: "Econ 106 - Module 5 Exercise"
author: "Your Name"
date: last-modified
format:
html:
self-contained: true
toc: true
toc-location: left
toc-depth: 3
number-sections: true
code-fold: true
theme:
light: cosmo
dark: darkly
editor: visual
---