Skip to content

Commit 499e76b

Browse files
committed
more apdb plot fix
1 parent 3e65fd0 commit 499e76b

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

R/apdb_plot.R

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ dat <- datraw |>
2424
),
2525
raperiod = factor(raperiod, levels = rev(c('2022-2026', '2017-2021', '2012-2016', '2007-2011', '2002-2006')))
2626
) |>
27-
filter(SegmentName %in% c('Old Tampa Bay', 'Hillsborough Bay', 'Middle Tampa Bay', 'Lower Tampa Bay', 'Boca Ciega Bay', 'Terra Ceia Bay', 'Manaee River')) |>
27+
filter(SegmentName %in% c('Old Tampa Bay', 'Hillsborough Bay', 'Middle Tampa Bay', 'Lower Tampa Bay', 'Boca Ciega Bay', 'Terra Ceia Bay', 'Manatee River')) |>
2828
mutate(
29-
SegmentName = factor(SegmentName, levels = c('Old Tampa Bay', 'Hillsborough Bay', 'Middle Tampa Bay', 'Lower Tampa Bay', 'Boca Ciega Bay', 'Terra Ceia Bay', 'Manaee River'))
29+
SegmentName = factor(SegmentName, levels = c('Old Tampa Bay', 'Hillsborough Bay', 'Middle Tampa Bay', 'Lower Tampa Bay', 'Boca Ciega Bay', 'Terra Ceia Bay', 'Manatee River'))
3030
)
3131

3232
toplo <- dat |>
@@ -51,7 +51,7 @@ p1 <- ggplot(toplo, aes(x = raperiod, y = cnt, fill = SegmentName)) +
5151
title = 'Reported Projects by Bay Segment and Reporting Period',
5252
subtitle = 'Number of Projects',
5353
x = NULL,
54-
y = 'Count of Projects'
54+
y = 'Count'
5555
) +
5656
theme_minimal() +
5757
theme(
@@ -66,7 +66,7 @@ p2 <- ggplot(toplo, aes(x = raperiod, y = TNtons_period, fill = SegmentName)) +
6666
labs(
6767
subtitle = 'TN Tons Removed',
6868
x = 'RA Period',
69-
y = 'TN Tons',
69+
y = 'Tons',
7070
caption = 'Note: Includes projects with a completion year and reported TN load reduction'
7171
) +
7272
theme_minimal() +
@@ -93,7 +93,7 @@ p1 <- ggplot(toplo2, aes(x = raperiod, y = cnt)) +
9393
title = 'Reported Projects and Reporting Period, Old Tampa Bay only',
9494
subtitle = 'Number of Projects',
9595
x = NULL,
96-
y = 'Count of Projects'
96+
y = 'Count'
9797
) +
9898
theme_minimal() +
9999
theme(
@@ -107,7 +107,7 @@ p2 <- ggplot(toplo2, aes(x = raperiod, y = TNtons_period)) +
107107
labs(
108108
subtitle = 'TN Tons Removed',
109109
x = 'RA Period',
110-
y = 'TN Tons',
110+
y = 'Tons',
111111
caption = 'Note: Includes projects with a completion year and reported TN load reduction'
112112
) +
113113
theme_minimal() +

figs/apdb_old_tampa_bay.png

-2.39 KB
Loading

figs/apdb_tampa_bay.png

-3.68 KB
Loading

0 commit comments

Comments
 (0)