Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Damonamajor committed Aug 9, 2024
1 parent dd1efc8 commit 7124b03
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions analyses/aggregated_maps_categorical.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ suffixes <- pin_nbhd %>%
select(starts_with("percentage_")) %>%
names() %>%
gsub("percentage_", "", .)
```

```{r}
Expand All @@ -27,7 +26,7 @@ maps <- lapply(suffixes, function(suffix) {
theme_void() +
coord_sf(xlim = c(-88.4, -87.52398), ylim = c(41.5, 42.2)) +
ggtitle(paste0("Map for ", suffix))
return(map1)
})
```
Expand All @@ -48,12 +47,11 @@ for (i in seq_along(maps)) {

```{r}
pin_nbhd %>%
ggplot() +
geom_sf(aes(fill = as.factor(plurality_factor))) +
scale_fill_viridis_d(option = "viridis") +
labs(fill = "Variable") +
theme_void() +
coord_sf(xlim = c(-88.4, -87.52398), ylim = c(41.5, 42.2)) +
ggtitle("Plurality Variable")
ggplot() +
geom_sf(aes(fill = as.factor(plurality_factor))) +
scale_fill_viridis_d(option = "viridis") +
labs(fill = "Variable") +
theme_void() +
coord_sf(xlim = c(-88.4, -87.52398), ylim = c(41.5, 42.2)) +
ggtitle("Plurality Variable")
```

0 comments on commit 7124b03

Please sign in to comment.