Skip to content

Commit

Permalink
Quick snag (#44)
Browse files Browse the repository at this point in the history
some minor formatting changes to chart titles
  • Loading branch information
cfraser2020 authored Mar 25, 2024
2 parents 4fff1f8 + 48aba74 commit e3942dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Demographics/1. Demographics - Population.R
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ pop_pyramid <- ggplot(
theme_profiles() + # guides(fill = FALSE)
labs(
y = "Population", x = "Age Group",
title = paste0(str_wrap(`LOCALITY`, 50), " population pyramid", pop_max_year)
title = paste0(str_wrap(`LOCALITY`, 50), " population pyramid ", pop_max_year)
)


Expand Down
2 changes: 1 addition & 1 deletion Households/Households Code.R
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ houses_ts <- ggplot(house_dat1, aes(x = year, y = total_dwellings, group = 1)) +
scale_y_continuous(labels = scales::comma, limits = c(0, 1.1 * max(house_dat1$total_dwellings))) +
labs(
x = "Year", y = "Number of Dwellings",
title = paste0("Number of Dwellings by Year in ", str_wrap(`LOCALITY`, 40), max_year_housing),
title = paste0("Number of Dwellings by Year in ", str_wrap(`LOCALITY`, 40)," ", max_year_housing),
caption = "Source: Council Tax billing system (via NRS)"
) +
theme(plot.title = element_text(size = 12))
Expand Down

0 comments on commit e3942dd

Please sign in to comment.