Skip to content

Commit

Permalink
Updated commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Festuus committed Oct 24, 2024
1 parent 8c31100 commit cff3b8f
Show file tree
Hide file tree
Showing 14 changed files with 3,907 additions and 0 deletions.
625 changes: 625 additions & 0 deletions week_08/Quarto.html

Large diffs are not rendered by default.

58 changes: 58 additions & 0 deletions week_08/Quarto.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
---
title: "Case Study 08"
author: Festus Adegbola
date: Oct 24, 2024
output: github_document
format:
html: default
gfm: default
pptx: default
docx: default
---

#Load Library
```{r}
library(ggplot2)
library(dplyr)
library(kableExtra)
library(webshot2)
```

#Data The data used here is the **Mauna Loa CO2 annual mean data**. It can be found at \[NOAA Global Monitoring Laboratory\] (https://gml.noaa.gov/ccgg/trends/data.html)

##Load Data

```{r, loading data}
CO2mean <- readr::read_table("ftp://aftp.cmdl.noaa.gov/products/trends/co2/co2_annmean_mlo.txt",
skip = 57,
comment = "#",
col_names = c("Year", "Mean", "Uncertainty"))
```

#Plot

```{r}
ggplot(CO2mean, aes(Year, Mean))+
geom_line(color="red", size=3) +
theme_classic()+
labs(title="Annual Mean Carbon Dioxide Concentrations 1959-Present",
x= "Year",
y= "Mauna Loa CO2 Annual Mean")
```

#Top Five Annual Mean Carbon Dioxide Concentrations at Mona Loa

```{r}
CO2mean %>%
arrange(desc(Mean)) %>%
slice_head(n = 5) %>%
knitr::kable() %>%
kable_styling(position = "center") %>%
as_image(width = 10,file = "table.png")
```

```{r}
#quarto::render("/Users/festusad/Documents/SpatialDataScience/Case_Assignments/week_08",output_format = "all")
```

------------------------------------------------------------------------
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2,078 changes: 2,078 additions & 0 deletions week_08/Quarto_files/libs/bootstrap/bootstrap-icons.css

Large diffs are not rendered by default.

Binary file not shown.
12 changes: 12 additions & 0 deletions week_08/Quarto_files/libs/bootstrap/bootstrap.min.css

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions week_08/Quarto_files/libs/bootstrap/bootstrap.min.js

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions week_08/Quarto_files/libs/clipboard/clipboard.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions week_08/Quarto_files/libs/quarto-html/anchor.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions week_08/Quarto_files/libs/quarto-html/popper.min.js

Large diffs are not rendered by default.

203 changes: 203 additions & 0 deletions week_08/Quarto_files/libs/quarto-html/quarto-syntax-highlighting.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit cff3b8f

Please sign in to comment.