generated from SEFSC/SEFSC-Template
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9ba1b43
commit bdb7d1a
Showing
8 changed files
with
78 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
rm(list = ls()) | ||
dat <- read.table("../indicator_data/surface_omega_series.txt", skip = 0, header = F) | ||
head(dat) | ||
tail(dat) | ||
dat$dates <- paste0(month.abb[dat$V2], dat$V1) | ||
datdata <- dat$dates | ||
inddata <- data.frame(dat$V3) | ||
labs <- c("Ocean acidification", "Surface aragonite saturation", "") | ||
indnames <- data.frame(matrix(labs, nrow = 3, byrow = F)) | ||
s <- list(labels = indnames, indicators = inddata, datelist = datdata) | ||
class(s) <-"indicatordata" | ||
plotIndicatorTimeSeries(s) | ||
library(plotTimeSeries) | ||
library(spam) | ||
rm(list = ls()) | ||
dat <- read.table("../indicator_data/surface_omega_series.txt", skip = 0, header = F) | ||
head(dat) | ||
tail(dat) | ||
dat$dates <- paste0(month.abb[dat$V2], dat$V1) | ||
datdata <- dat$dates | ||
inddata <- data.frame(dat$V3) | ||
labs <- c("Ocean acidification", "Surface aragonite saturation", "") | ||
indnames <- data.frame(matrix(labs, nrow = 3, byrow = F)) | ||
s <- list(labels = indnames, indicators = inddata, datelist = datdata) | ||
class(s) <-"indicatordata" | ||
plotIndicatorTimeSeries(s) | ||
inddata <- s | ||
save(inddata, file = "OA_test.RData") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
## Ocean acificiation indicator | ||
## Ocean acidification indicator | ||
|
||
Sent by F. Gomez on 02/19/2023 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,19 @@ | ||
## ESR Lab Reports | ||
|
||
ESR lab reports are quarto books that compile the R scripts for each indicator as well as any other descriptions of how the ESR will be put together. | ||
ESR lab reports are quarto books that compile the R scripts for each indicator as well as any other descriptions of how the ESR will be put together. | ||
|
||
## Caribbean ESR | ||
|
||
This lab report is for the Caribbean ESR that was compiled from 2023-2024. This is the first ESR for the Caribbean region. Here we can add more text about why this ESR is being compiled. | ||
|
||
## Some notes | ||
|
||
This lab report was created the following way: | ||
|
||
1. clone the Caribbean ESR repo into my R studio | ||
2. create a new folder in the repo called "Lab report" | ||
3. create 2 files, one called "index.qmd" and abother called "_quarto.txt" within the Lab report folder | ||
4. rename the "_quarto.txt" file to "_quarto.yml" in file explorer to change it into the book YAML | ||
5. populate the YAML document | ||
|
||
Note: this works great for rendering the quarto book as an html file. I can't figure out how to render it as a pdf though. This is not really necessary for the lab report but something to keep in mind. |