Code
library(tidyverse)
::opts_chunk$set(echo = TRUE) knitr
Emma Narkewicz
October 11, 2022
This document provides yaml header inforamtion you will need to replicate each week to submit your homework or other blog posts. Please observe the following conventions:
posts
folder, naming it FirstLast_hwX.qmd
Warning in file(file, "rt"): cannot open file '/Users/Emma/Desktop/Koding is
Kewl/Loss_of_Work_Due_to_Illness_from_COVID-19.csv': No such file or directory
Error in file(file, "rt"): cannot open the connection
Error in pivot_wider(., names_from = Group, values_from = Subgroup): object 'Covid_Work_Data' not found
---
title: "Testing out reading in data"
author: "Emma Narkewicz"
desription: "Something to describe what I did"
date: "10/11/2022"
format:
html:
toc: true
code-fold: true
code-copy: true
code-tools: true
categories:
- hw2
- challenge1
- my name
- dataset
- ggplot2
---
```{r}
#| label: setup
#| warning: false
library(tidyverse)
knitr::opts_chunk$set(echo = TRUE)
```
## Instructions
This document provides yaml header inforamtion you will need to replicate each week to submit your homework or other blog posts. Please observe the following conventions:
- Save your own copy of this template as a blog post in the `posts` folder, naming it `FirstLast_hwX.qmd`
- Edit the yaml header to change your author name - use the same name each week
- include a *description* that is reader friendly
- update the *category* list to indicate the type of submission, the data used, the main packages or techniques, your name, or any thing else to make your document easy to find
- edit as a normal qmd/rmd file
```{r}
Covid_Work_Data <- read.csv("/Users/Emma/Desktop/Koding is Kewl/Loss_of_Work_Due_to_Illness_from_COVID-19.csv")
Covid_Work_Data %>%
pivot_wider(
names_from = Group,
values_from = Subgroup
)
```