-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding Vignettes #51
base: main
Are you sure you want to change the base?
Adding Vignettes #51
Conversation
@lilyclements This is ready for review |
Wow! @PhyllisMuniu this is looking incredible! Can you try running |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll continue on Personal Carbon Emissions tomorrow :) I am going to try and get a good average (UK) example of household waste -- I think mostly using this https://www.recycle-more.co.uk/what-can-i-recycle/recycling-facts
```{r example_data, message = FALSE, warning = FALSE, eval=FALSE, include=TRUE} | ||
# Create an example data frame, called example_data. | ||
example_data <- data.frame( | ||
wet_clinical_waste = 150, # 150 kg of wet clinical waste | ||
water_supply = 100, # 100 cubic meters of water | ||
electricity_kWh = 500, # 500 kWh of electricity | ||
heat_kWh = 200 # 200 kWh of heating | ||
) | ||
example_data | ||
``` | ||
|
||
```{r, message = FALSE, warning = FALSE, echo = FALSE} | ||
example_data <- data.frame( | ||
wet_clinical_waste = 150, # 150 kg of wet clinical waste | ||
water_supply = 100, # 100 cubic meters of water | ||
electricity_kWh = 500, # 500 kWh of electricity | ||
heat_kWh = 200 # 200 kWh of heating | ||
) | ||
example_data %>% knitr::kable() | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@PhyllisMuniu I'm here running it "twice". This is for formatting reasons. The first time, I'm giving it to display the code.
The second time, I'm giving it to run the code, and put it into a nice table (knitr::kable
)
@lilyclements This is ready to review