Skip to content

Commit 06246ee

Browse files
committed
feature(community_climate_vulnerability): replace "community_climate_vulnerability" with "community_risks" throughout comparison document
1 parent dc07dbd commit 06246ee

1 file changed

Lines changed: 26 additions & 26 deletions

File tree

data-raw/comparisons/community_risks.Rmd

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ library(ecodata25)
1414
library(dplyr)
1515
library(knitr)
1616
17-
# Replace 'community_climate_vulnerability' with intended dataset
18-
dataset<-ecodata::community_climate_vulnerability
17+
# Replace 'community_risks' with intended dataset
18+
dataset<-ecodata::community_risks
1919
dataset24<-ecodata25::community_climate_vulnerability
2020
2121
# Define dataset-specific arguments for plot functions
@@ -29,7 +29,7 @@ plottype<-list("propcomm", "regionrev", "regionland")
2929

3030
## `r paste(report[1],"oaSum",plottype[1])`
3131
```{r, fig.show="hold", out.width="50%", echo=FALSE, message=FALSE, warning=FALSE}
32-
ecodata::plot_community_climate_vulnerability(report = report[1], n = 10, varName = "oaSum", plottype = plottype[1]) +
32+
ecodata::plot_community_risks(report = report[1], n = 10, varName = "oaSum", plottype = plottype[1]) +
3333
ggplot2::ggtitle("SOE 2026") + ggplot2::theme(plot.title = ggplot2::element_text(size = 20))
3434
3535
ecodata25::plot_community_climate_vulnerability(report = report[1], n = 10, varName = "oaSum", plottype = plottype[1]) +
@@ -38,7 +38,7 @@ ecodata25::plot_community_climate_vulnerability(report = report[1], n = 10, varN
3838

3939
## `r paste(report[2],"oaSum",plottype[1])`
4040
```{r, fig.show="hold", out.width="50%", echo=FALSE, message=FALSE, warning=FALSE}
41-
ecodata::plot_community_climate_vulnerability(report = report[2], n = 10, varName = "oaSum", plottype = plottype[1]) +
41+
ecodata::plot_community_risks(report = report[2], n = 10, varName = "oaSum", plottype = plottype[1]) +
4242
ggplot2::ggtitle("SOE 2026") + ggplot2::theme(plot.title = ggplot2::element_text(size = 20))
4343
4444
ecodata25::plot_community_climate_vulnerability(report = report[2], n = 10, varName = "oaSum", plottype = plottype[1]) +
@@ -47,7 +47,7 @@ ecodata25::plot_community_climate_vulnerability(report = report[2], n = 10, varN
4747

4848
## `r paste(report[1],"oaSum",plottype[2])`
4949
```{r, fig.show="hold", out.width="50%", echo=FALSE, message=FALSE, warning=FALSE}
50-
ecodata::plot_community_climate_vulnerability(report = report[1], n = 10, varName = "oaSum", plottype = plottype[2]) +
50+
ecodata::plot_community_risks(report = report[1], n = 10, varName = "oaSum", plottype = plottype[2]) +
5151
ggplot2::ggtitle("SOE 2026") + ggplot2::theme(plot.title = ggplot2::element_text(size = 20))
5252
5353
ecodata25::plot_community_climate_vulnerability(report = report[1], n = 10, varName = "oaSum", plottype = plottype[2]) +
@@ -56,7 +56,7 @@ ecodata25::plot_community_climate_vulnerability(report = report[1], n = 10, varN
5656

5757
## `r paste(report[2],"oaSum",plottype[2])`
5858
```{r, fig.show="hold", out.width="50%", echo=FALSE, message=FALSE, warning=FALSE}
59-
ecodata::plot_community_climate_vulnerability(report = report[2], n = 10, varName = "oaSum", plottype = plottype[2]) +
59+
ecodata::plot_community_risks(report = report[2], n = 10, varName = "oaSum", plottype = plottype[2]) +
6060
ggplot2::ggtitle("SOE 2026") + ggplot2::theme(plot.title = ggplot2::element_text(size = 20))
6161
6262
ecodata25::plot_community_climate_vulnerability(report = report[2], n = 10, varName = "oaSum", plottype = plottype[2]) +
@@ -65,7 +65,7 @@ ecodata25::plot_community_climate_vulnerability(report = report[2], n = 10, varN
6565

6666
## `r paste(report[1],"oaSum",plottype[3])`
6767
```{r, fig.show="hold", out.width="50%", echo=FALSE, message=FALSE, warning=FALSE}
68-
ecodata::plot_community_climate_vulnerability(report = report[1], n = 10, varName = "oaSum", plottype = plottype[3]) +
68+
ecodata::plot_community_risks(report = report[1], n = 10, varName = "oaSum", plottype = plottype[3]) +
6969
ggplot2::ggtitle("SOE 2026") + ggplot2::theme(plot.title = ggplot2::element_text(size = 20))
7070
7171
ecodata25::plot_community_climate_vulnerability(report = report[1], n = 10, varName = "oaSum", plottype = plottype[3]) +
@@ -74,7 +74,7 @@ ecodata25::plot_community_climate_vulnerability(report = report[1], n = 10, varN
7474

7575
## `r paste(report[2],"oaSum",plottype[3])`
7676
```{r, fig.show="hold", out.width="50%", echo=FALSE, message=FALSE, warning=FALSE}
77-
ecodata::plot_community_climate_vulnerability(report = report[2], n = 10, varName = "oaSum", plottype = plottype[3]) +
77+
ecodata::plot_community_risks(report = report[2], n = 10, varName = "oaSum", plottype = plottype[3]) +
7878
ggplot2::ggtitle("SOE 2026") + ggplot2::theme(plot.title = ggplot2::element_text(size = 20))
7979
8080
ecodata25::plot_community_climate_vulnerability(report = report[2], n = 10, varName = "oaSum", plottype = plottype[3]) +
@@ -83,7 +83,7 @@ ecodata25::plot_community_climate_vulnerability(report = report[2], n = 10, varN
8383

8484
## `r paste(report[1],"tempSum",plottype[1])`
8585
```{r, fig.show="hold", out.width="50%", echo=FALSE, message=FALSE, warning=FALSE}
86-
ecodata::plot_community_climate_vulnerability(report = report[1], n = 10, varName = "tempSum", plottype = plottype[1]) +
86+
ecodata::plot_community_risks(report = report[1], n = 10, varName = "tempSum", plottype = plottype[1]) +
8787
ggplot2::ggtitle("SOE 2026") + ggplot2::theme(plot.title = ggplot2::element_text(size = 20))
8888
8989
ecodata25::plot_community_climate_vulnerability(report = report[1], n = 10, varName = "tempSum", plottype = plottype[1]) +
@@ -92,7 +92,7 @@ ecodata25::plot_community_climate_vulnerability(report = report[1], n = 10, varN
9292

9393
## `r paste(report[2],"tempSum",plottype[1])`
9494
```{r, fig.show="hold", out.width="50%", echo=FALSE, message=FALSE, warning=FALSE}
95-
ecodata::plot_community_climate_vulnerability(report = report[2], n = 10, varName = "tempSum", plottype = plottype[1]) +
95+
ecodata::plot_community_risks(report = report[2], n = 10, varName = "tempSum", plottype = plottype[1]) +
9696
ggplot2::ggtitle("SOE 2026") + ggplot2::theme(plot.title = ggplot2::element_text(size = 20))
9797
9898
ecodata25::plot_community_climate_vulnerability(report = report[2], n = 10, varName = "tempSum", plottype = plottype[1]) +
@@ -101,7 +101,7 @@ ecodata25::plot_community_climate_vulnerability(report = report[2], n = 10, varN
101101

102102
## `r paste(report[1],"tempSum",plottype[2])`
103103
```{r, fig.show="hold", out.width="50%", echo=FALSE, message=FALSE, warning=FALSE}
104-
ecodata::plot_community_climate_vulnerability(report = report[1], n = 10, varName = "tempSum", plottype = plottype[2]) +
104+
ecodata::plot_community_risks(report = report[1], n = 10, varName = "tempSum", plottype = plottype[2]) +
105105
ggplot2::ggtitle("SOE 2026") + ggplot2::theme(plot.title = ggplot2::element_text(size = 20))
106106
107107
ecodata25::plot_community_climate_vulnerability(report = report[1], n = 10, varName = "tempSum", plottype = plottype[2]) +
@@ -110,7 +110,7 @@ ecodata25::plot_community_climate_vulnerability(report = report[1], n = 10, varN
110110

111111
## `r paste(report[2],"tempSum",plottype[2])`
112112
```{r, fig.show="hold", out.width="50%", echo=FALSE, message=FALSE, warning=FALSE}
113-
ecodata::plot_community_climate_vulnerability(report = report[2], n = 10, varName = "tempSum", plottype = plottype[2]) +
113+
ecodata::plot_community_risks(report = report[2], n = 10, varName = "tempSum", plottype = plottype[2]) +
114114
ggplot2::ggtitle("SOE 2026") + ggplot2::theme(plot.title = ggplot2::element_text(size = 20))
115115
116116
ecodata25::plot_community_climate_vulnerability(report = report[2], n = 10, varName = "tempSum", plottype = plottype[2]) +
@@ -119,7 +119,7 @@ ecodata25::plot_community_climate_vulnerability(report = report[2], n = 10, varN
119119

120120
## `r paste(report[1],"tempSum",plottype[3])`
121121
```{r, fig.show="hold", out.width="50%", echo=FALSE, message=FALSE, warning=FALSE}
122-
ecodata::plot_community_climate_vulnerability(report = report[1], n = 10, varName = "tempSum", plottype = plottype[3]) +
122+
ecodata::plot_community_risks(report = report[1], n = 10, varName = "tempSum", plottype = plottype[3]) +
123123
ggplot2::ggtitle("SOE 2026") + ggplot2::theme(plot.title = ggplot2::element_text(size = 20))
124124
125125
ecodata25::plot_community_climate_vulnerability(report = report[1], n = 10, varName = "tempSum", plottype = plottype[3]) +
@@ -128,7 +128,7 @@ ecodata25::plot_community_climate_vulnerability(report = report[1], n = 10, varN
128128

129129
## `r paste(report[2],"tempSum",plottype[3])`
130130
```{r, fig.show="hold", out.width="50%", echo=FALSE, message=FALSE, warning=FALSE}
131-
ecodata::plot_community_climate_vulnerability(report = report[2], n = 10, varName = "tempSum", plottype = plottype[3]) +
131+
ecodata::plot_community_risks(report = report[2], n = 10, varName = "tempSum", plottype = plottype[3]) +
132132
ggplot2::ggtitle("SOE 2026") + ggplot2::theme(plot.title = ggplot2::element_text(size = 20))
133133
134134
ecodata25::plot_community_climate_vulnerability(report = report[2], n = 10, varName = "tempSum", plottype = plottype[3]) +
@@ -137,7 +137,7 @@ ecodata25::plot_community_climate_vulnerability(report = report[2], n = 10, varN
137137

138138
## `r paste(report[1],"sensSum",plottype[1])`
139139
```{r, fig.show="hold", out.width="50%", echo=FALSE, message=FALSE, warning=FALSE}
140-
ecodata::plot_community_climate_vulnerability(report = report[1], n = 10, varName = "sensSum", plottype = plottype[1]) +
140+
ecodata::plot_community_risks(report = report[1], n = 10, varName = "sensSum", plottype = plottype[1]) +
141141
ggplot2::ggtitle("SOE 2026") + ggplot2::theme(plot.title = ggplot2::element_text(size = 20))
142142
143143
ecodata25::plot_community_climate_vulnerability(report = report[1], n = 10, varName = "sensSum", plottype = plottype[1]) +
@@ -146,7 +146,7 @@ ecodata25::plot_community_climate_vulnerability(report = report[1], n = 10, varN
146146

147147
## `r paste(report[2],"sensSum",plottype[1])`
148148
```{r, fig.show="hold", out.width="50%", echo=FALSE, message=FALSE, warning=FALSE}
149-
ecodata::plot_community_climate_vulnerability(report = report[2], n = 10, varName = "sensSum", plottype = plottype[1]) +
149+
ecodata::plot_community_risks(report = report[2], n = 10, varName = "sensSum", plottype = plottype[1]) +
150150
ggplot2::ggtitle("SOE 2026") + ggplot2::theme(plot.title = ggplot2::element_text(size = 20))
151151
152152
ecodata25::plot_community_climate_vulnerability(report = report[2], n = 10, varName = "sensSum", plottype = plottype[1]) +
@@ -155,7 +155,7 @@ ecodata25::plot_community_climate_vulnerability(report = report[2], n = 10, varN
155155

156156
## `r paste(report[1],"sensSum",plottype[2])`
157157
```{r, fig.show="hold", out.width="50%", echo=FALSE, message=FALSE, warning=FALSE}
158-
ecodata::plot_community_climate_vulnerability(report = report[1], n = 10, varName = "sensSum", plottype = plottype[2]) +
158+
ecodata::plot_community_risks(report = report[1], n = 10, varName = "sensSum", plottype = plottype[2]) +
159159
ggplot2::ggtitle("SOE 2026") + ggplot2::theme(plot.title = ggplot2::element_text(size = 20))
160160
161161
ecodata25::plot_community_climate_vulnerability(report = report[1], n = 10, varName = "sensSum", plottype = plottype[2]) +
@@ -164,7 +164,7 @@ ecodata25::plot_community_climate_vulnerability(report = report[1], n = 10, varN
164164

165165
## `r paste(report[2],"sensSum",plottype[2])`
166166
```{r, fig.show="hold", out.width="50%", echo=FALSE, message=FALSE, warning=FALSE}
167-
ecodata::plot_community_climate_vulnerability(report = report[2], n = 10, varName = "sensSum", plottype = plottype[2]) +
167+
ecodata::plot_community_risks(report = report[2], n = 10, varName = "sensSum", plottype = plottype[2]) +
168168
ggplot2::ggtitle("SOE 2026") + ggplot2::theme(plot.title = ggplot2::element_text(size = 20))
169169
170170
ecodata25::plot_community_climate_vulnerability(report = report[2], n = 10, varName = "sensSum", plottype = plottype[2]) +
@@ -173,7 +173,7 @@ ecodata25::plot_community_climate_vulnerability(report = report[2], n = 10, varN
173173

174174
## `r paste(report[1],"sensSum",plottype[3])`
175175
```{r, fig.show="hold", out.width="50%", echo=FALSE, message=FALSE, warning=FALSE}
176-
ecodata::plot_community_climate_vulnerability(report = report[1], n = 10, varName = "sensSum", plottype = plottype[3]) +
176+
ecodata::plot_community_risks(report = report[1], n = 10, varName = "sensSum", plottype = plottype[3]) +
177177
ggplot2::ggtitle("SOE 2026") + ggplot2::theme(plot.title = ggplot2::element_text(size = 20))
178178
179179
ecodata25::plot_community_climate_vulnerability(report = report[1], n = 10, varName = "sensSum", plottype = plottype[3]) +
@@ -182,7 +182,7 @@ ecodata25::plot_community_climate_vulnerability(report = report[1], n = 10, varN
182182

183183
## `r paste(report[2],"sensSum",plottype[3])`
184184
```{r, fig.show="hold", out.width="50%", echo=FALSE, message=FALSE, warning=FALSE}
185-
ecodata::plot_community_climate_vulnerability(report = report[2], n = 10, varName = "sensSum", plottype = plottype[3]) +
185+
ecodata::plot_community_risks(report = report[2], n = 10, varName = "sensSum", plottype = plottype[3]) +
186186
ggplot2::ggtitle("SOE 2026") + ggplot2::theme(plot.title = ggplot2::element_text(size = 20))
187187
188188
ecodata25::plot_community_climate_vulnerability(report = report[2], n = 10, varName = "sensSum", plottype = plottype[3]) +
@@ -191,7 +191,7 @@ ecodata25::plot_community_climate_vulnerability(report = report[2], n = 10, varN
191191

192192
## `r paste(report[1],"vulnSum",plottype[1])`
193193
```{r, fig.show="hold", out.width="50%", echo=FALSE, message=FALSE, warning=FALSE}
194-
ecodata::plot_community_climate_vulnerability(report = report[1], n = 10, varName = "vulnSum", plottype = plottype[1]) +
194+
ecodata::plot_community_risks(report = report[1], n = 10, varName = "vulnSum", plottype = plottype[1]) +
195195
ggplot2::ggtitle("SOE 2026") + ggplot2::theme(plot.title = ggplot2::element_text(size = 20))
196196
197197
ecodata25::plot_community_climate_vulnerability(report = report[1], n = 10, varName = "vulnSum", plottype = plottype[1]) +
@@ -200,7 +200,7 @@ ecodata25::plot_community_climate_vulnerability(report = report[1], n = 10, varN
200200

201201
## `r paste(report[2],"vulnSum",plottype[1])`
202202
```{r, fig.show="hold", out.width="50%", echo=FALSE, message=FALSE, warning=FALSE}
203-
ecodata::plot_community_climate_vulnerability(report = report[2], n = 10, varName = "vulnSum", plottype = plottype[1]) +
203+
ecodata::plot_community_risks(report = report[2], n = 10, varName = "vulnSum", plottype = plottype[1]) +
204204
ggplot2::ggtitle("SOE 2026") + ggplot2::theme(plot.title = ggplot2::element_text(size = 20))
205205
206206
ecodata25::plot_community_climate_vulnerability(report = report[2], n = 10, varName = "vulnSum", plottype = plottype[1]) +
@@ -209,7 +209,7 @@ ecodata25::plot_community_climate_vulnerability(report = report[2], n = 10, varN
209209

210210
## `r paste(report[1],"vulnSum",plottype[2])`
211211
```{r, fig.show="hold", out.width="50%", echo=FALSE, message=FALSE, warning=FALSE}
212-
ecodata::plot_community_climate_vulnerability(report = report[1], n = 10, varName = "vulnSum", plottype = plottype[2]) +
212+
ecodata::plot_community_risks(report = report[1], n = 10, varName = "vulnSum", plottype = plottype[2]) +
213213
ggplot2::ggtitle("SOE 2026") + ggplot2::theme(plot.title = ggplot2::element_text(size = 20))
214214
215215
ecodata25::plot_community_climate_vulnerability(report = report[1], n = 10, varName = "vulnSum", plottype = plottype[2]) +
@@ -218,7 +218,7 @@ ecodata25::plot_community_climate_vulnerability(report = report[1], n = 10, varN
218218

219219
## `r paste(report[2],"vulnSum",plottype[2])`
220220
```{r, fig.show="hold", out.width="50%", echo=FALSE, message=FALSE, warning=FALSE}
221-
ecodata::plot_community_climate_vulnerability(report = report[2], n = 10, varName = "vulnSum", plottype = plottype[2]) +
221+
ecodata::plot_community_risks(report = report[2], n = 10, varName = "vulnSum", plottype = plottype[2]) +
222222
ggplot2::ggtitle("SOE 2026") + ggplot2::theme(plot.title = ggplot2::element_text(size = 20))
223223
224224
ecodata25::plot_community_climate_vulnerability(report = report[2], n = 10, varName = "vulnSum", plottype = plottype[2]) +
@@ -227,7 +227,7 @@ ecodata25::plot_community_climate_vulnerability(report = report[2], n = 10, varN
227227

228228
## `r paste(report[1],"vulnSum",plottype[3])`
229229
```{r, fig.show="hold", out.width="50%", echo=FALSE, message=FALSE, warning=FALSE}
230-
ecodata::plot_community_climate_vulnerability(report = report[1], n = 10, varName = "vulnSum", plottype = plottype[3]) +
230+
ecodata::plot_community_risks(report = report[1], n = 10, varName = "vulnSum", plottype = plottype[3]) +
231231
ggplot2::ggtitle("SOE 2026") + ggplot2::theme(plot.title = ggplot2::element_text(size = 20))
232232
233233
ecodata25::plot_community_climate_vulnerability(report = report[1], n = 10, varName = "vulnSum", plottype = plottype[3]) +
@@ -236,7 +236,7 @@ ecodata25::plot_community_climate_vulnerability(report = report[1], n = 10, varN
236236

237237
## `r paste(report[2],"vulnSum",plottype[3])`
238238
```{r, fig.show="hold", out.width="50%", echo=FALSE, message=FALSE, warning=FALSE}
239-
ecodata::plot_community_climate_vulnerability(report = report[2], n = 10, varName = "vulnSum", plottype = plottype[3]) +
239+
ecodata::plot_community_risks(report = report[2], n = 10, varName = "vulnSum", plottype = plottype[3]) +
240240
ggplot2::ggtitle("SOE 2026") + ggplot2::theme(plot.title = ggplot2::element_text(size = 20))
241241
242242
ecodata25::plot_community_climate_vulnerability(report = report[2], n = 10, varName = "vulnSum", plottype = plottype[3]) +

0 commit comments

Comments
 (0)