Skip to content

Commit 33a02d8

Browse files
committed
revert commit
1 parent 5e169a1 commit 33a02d8

File tree

4 files changed

+48
-1
lines changed

4 files changed

+48
-1
lines changed

.RData

707 Bytes
Binary file not shown.

.Rhistory

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
C_pools_table <- read.csv("figures_tables/C_pools.csv")
2+
names(C_pools_table) <- stringr::str_replace_all(names(C_pools_table), "\\.", " ")
3+
library(knitr)
4+
library(kableExtra)
5+
knitr::kable(C_pools_table, format = "latex",
6+
longtable = FALSE,
7+
caption = "\\textbf{Variables with definitions and measurement methods.} Definitions from IPCC Table 1.1. (See Table 1.1 in IPCC guidance).") %>%
8+
kableExtra::kable_styling(full_width = TRUE) %>%
9+
row_spec(0, bold = TRUE)
10+
#this is for a two-column figure. for one-column figure, use {r, out.width = "8.3cm", echo = FALSE, fig.cap = "one column figure"}
11+
knitr::include_graphics("figures_tables/C_variable_mapping.png")
12+
library(knitr)
13+
library(kableExtra)
14+
ForC_variables_included <- read.csv("figures_tables/ForC_variables_included.csv")
15+
names(ForC_variables_included) <- stringr::str_replace_all(names(ForC_variables_included), "\\.", " ")
16+
ForC_variables_included <- ForC_variables_included[c(1:5)] #include all fields but TO_DO
17+
knitr::kable(ForC_variables_included, format = "latex",
18+
longtable = TRUE,
19+
caption = "\\textbf{Mapping of ForC fields to EFDB.} See footnotes at end of table (still need to be properly inserted). ") %>%
20+
row_spec(0, bold = TRUE) %>%
21+
kableExtra::kable_styling(full_width = TRUE, latex_options = c("repeat_header", "hold position"))
22+
library (readr)
23+
urlfile="https://raw.githubusercontent.com/forc-db/ForC/master/database_management_records/record_of_changes.csv"
24+
record_of_changes <-read_csv(url(urlfile))
25+
names(record_of_changes) <- stringr::str_replace_all(names(record_of_changes), "\\.", " ")
26+
record_of_changes <- record_of_changes[c(1:5)] #include all fields but date of change
27+
#record_of_changes<- record_of_changes[which(!grep("housekeeping",record_of_changes$Motivation)) , c(1:5)] #trying to exclude rows for which Motivation = "housekeeping", but this is not working
28+
record_of_changes[is.na(record_of_changes)]<- "" #replace NAs with blanks
29+
library(knitr)
30+
library(kableExtra)
31+
knitr::kable(record_of_changes, format = "latex",
32+
longtable = TRUE,
33+
caption = "\\textbf{Table of changes to ForC fields.}") %>%
34+
kableExtra::kable_styling(full_width = TRUE, latex_options = c("repeat_header")) %>%
35+
row_spec(0, bold = TRUE)
36+
tinytex::install_tinytex()
37+
tinytex::install_tinytex()
38+
(Table&nbsp;\@ref(table_variables)
39+
C_pools_table <- read.csv("figures_tables/C_pools.csv")
40+
names(C_pools_table) <- stringr::str_replace_all(names(C_pools_table), "\\.", " ")
41+
library(knitr)
42+
library(kableExtra)
43+
knitr::kable(C_pools_table, format = "latex",
44+
longtable = FALSE,
45+
caption = "\\textbf{Variables with definitions and measurement methods.} Definitions from IPCC Table 1.1. (See Table 1.1 in IPCC guidance).") %>%
46+
kableExtra::kable_styling(full_width = TRUE) %>%
47+
row_spec(0, bold = TRUE)

doc/manuscript/ESSDmanuscript.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ For quantifying forest role in global C cycle, we ultimately care about:
146146

147147
## Carbon stocks
148148

149-
Carbon stocks refer to the amount of carbon stored within the forest ecosystem. This carbon is captured from the atmosphere. The carbon is commonly stored withing living and dead biomass and soil. Forest ecosystem C stocks may be parsed into pools in various ways.
149+
Forest ecosystem C stocks may be parsed into pools in various ways.
150150
IPCC parses into biomass (aboveground and belowground), dead organic matter (dead wood and litter), and soil organic matter (Table&nbsp;\@ref(table_variables)).
151151
Quantifying these requires a one-time measurement.
152152

doc/manuscript/ESSDmanuscript.pdf

357 KB
Binary file not shown.

0 commit comments

Comments
 (0)