---
title: "Mini-Project 2"
date: today
toc: true
format:
  html: 
    code-overflow: wrap
    toc: true
    toc-title: "Pivoting"
    # hide code?

execute:
  warning: false
  message: false
---



## Data Options

The following datasets are listed on [kaggle.com](https://www.kaggle.com/datasets).  

These are merely suggestions, as they seemed *very interesting* to me.  

### Social Media 

- [Top Reddit Posts 2011-2024](https://www.kaggle.com/code/devraai/analyzing-top-reddit-posts-20112024)
- [Mpox Instagram: Sentiment & Hate Analysis](https://www.kaggle.com/datasets/thakurnirmalya/mpox-instagram-dataset-sentiment-and-hate-analysis/data)
- [The Art of Worldly Wisdom: Baltasar Gracián](https://www.kaggle.com/datasets/kevinbnisch/the-art-of-worldly-wisdom-baltasar-gracian/data)

### Work & Wellness 

- [Life Style Data](https://www.kaggle.com/datasets/jockeroika/life-style-data)
- [Remote Work Productivity](https://www.kaggle.com/code/alaaabdelstar/remote-work-productivity/notebook)
- [Food Nutritional Facts](https://www.kaggle.com/datasets/beridzeg45/food-nutritional-facts)
- [Countries Life Expectancy](https://www.kaggle.com/datasets/paperxd/cleaned-life-expectancy-dataset)

### Environment 

- [World Population by Country](https://www.kaggle.com/datasets/asadullahcreative/world-population-by-country-2025)
- [Top 100 Most Sustainable Corporations](https://www.kaggle.com/datasets/prajwaldongre/top-100-most-sustainable-corporations/data)
- [Taiwan Air Quality Index](https://www.kaggle.com/datasets/taweilo/taiwan-air-quality-data-20162024)
- [Data Science Jobs & Salaries](https://www.kaggle.com/code/ahmedaboraida/data-science-jobs-and-salaries-eda)
- [Global Temperature Anomalies](https://www.kaggle.com/datasets/willianoliveiragibin/temperature-anomalies/data)
- [CO2 Levels: (2021-2024) Trends & Cycles](https://www.kaggle.com/datasets/shreyasur965/co2-levels-2014-2024-trends-and-cycles/code)
- [Taiwan Earthquake Data](https://www.kaggle.com/datasets/taweilo/taiwan-earthquake-dataset)
- [Precious Metal Content in E-Waste](https://www.kaggle.com/datasets/abhaynb/precious-metal-content-in-e-waste/data)


## Requirements

- Transformations: 
  + group_by, summarize and *actually use/plot the results* w/ggplot 
  + select, mutate, distinct, filter
  + pivoting *of some kind* 
  
- Visualizations:
  + `geom_text` or `geom_label` or other annotation
  + divergent bar graph
  + custom axis labels
  + appropriate use of title, subtitle, caption
  + use at least one `scale_` function
  
- Publishing:
  + a fully rendered .html file produced via quarto
  + include a [link](https://quarto.org/docs/authoring/markdown-basics.html) to the data you used (see below) in the .qmd file 

```{r, eval=FALSE}
# this is how you insert links
[name of link](https://quarto.org/docs/authoring/markdown-basics.html)
```

- Coding:
  + good comments in .qmd file
  + your code should be easily readable
    . align code with tabs
    . no long lines of code
  + *describe* in detail *some piece of code* during presentation 
  
- Statistics:
  + use *some* language of [basic statistics](../Week1/basic-stats.html)
  + i.e., are you using descriptive statistics or inferential?

- Extensions:
  + use one of the extensions to ggplot [discussed in class](https://docs.google.com/spreadsheets/d/1QBpicOgS0nBqwIs7Kv6CjChYGO-_YLk1Ek1iluelTCk/edit?gid=0#gid=0) (or one elsewhere)
  
## Due Date:

- Tentatively Oct. 21