Skip to content

Commit

Permalink
again but bigger
Browse files Browse the repository at this point in the history
  • Loading branch information
ttuff committed Apr 29, 2024
1 parent 757185a commit b364e3f
Show file tree
Hide file tree
Showing 41 changed files with 19 additions and 15 deletions.
Binary file modified docs/worksheets/Crime_word_cloud_per_grade.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/worksheets/Denver_traffic_accidents.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/worksheets/Denver_traffic_accidents_density_plot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/worksheets/Denver_tree_inventory_2023.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/worksheets/Denver_tree_inventory_2023_density_plot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/worksheets/Police shootings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/worksheets/Police shootings_density_plot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/worksheets/Public art .png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/worksheets/Public art _density_plot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/worksheets/Soil samples.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/worksheets/Soil samples_density_plot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/worksheets/crime.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/worksheets/crime_density_plot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/worksheets/final_redlining_plot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/worksheets/food_2024-04-29.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/worksheets/food_word_cloud_per_grade.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/worksheets/instream_sampling_sites.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/worksheets/instream_sampling_sites_density_plot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/worksheets/liquor licenses .png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/worksheets/liquor licenses _density_plot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/worksheets/natural_habitats_word_cloud_per_grade.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/worksheets/police_shootings_word_cloud_per_grade.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/worksheets/processed_food_word_cloud_per_grade.png
Binary file modified docs/worksheets/redlining_mask_ndvi.png
34 changes: 19 additions & 15 deletions docs/worksheets/worksheet_redlining.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,17 @@ load_city_redlining_data <- function(city_name) {
# Load redlining data for Denver
denver_redlining <- load_city_redlining_data("Denver")
print(denver_redlining)
```
```{r, echo=FALSE, cache=TRUE}
library(knitr)
library(kableExtra)
kable(denver_redlining, format = "html", table.attr = "style='width:100%'") %>%
kable_styling(bootstrap_options = c("striped", "hover"))
```

</details>


Expand Down Expand Up @@ -345,7 +353,6 @@ food <- get_places(denver_redlining, type="food")
food_processed <- get_places(denver_redlining, type="processed_food")
natural_habitats <- get_places(denver_redlining, type="natural_habitats")
roads <- get_places(denver_redlining, type="roads")
Expand Down Expand Up @@ -391,9 +398,6 @@ split_plot <- function(sf_data, roads, rivers) {
return(plot)
}
```
</details>

Expand Down Expand Up @@ -563,7 +567,7 @@ food_word_cloud <- create_wordclouds_by_grade(food_match$sf, output_file = "food



![](food_word_cloud_per_grade.png)
![](../worksheets/food_word_cloud_per_grade.png)
</details>

<details>
Expand All @@ -582,7 +586,7 @@ food_word_cloud <- create_wordclouds_by_grade(food_match$sf, output_file = "food
processed_food_cloud <- create_wordclouds_by_grade(processed_food_match$sf, output_file = "processed_food_word_cloud_per_grade.png",title = "Processed food place names where larger text is more frequent", max_size =17)
```
![](processed_food_word_cloud_per_grade.png)
![](../worksheets/processed_food_word_cloud_per_grade.png)
</details>


Expand All @@ -603,7 +607,7 @@ natural_habitats_cloud <- create_wordclouds_by_grade(natural_habitats_match$sf,
```

![](natural_habitats_word_cloud_per_grade.png)
![](../worksheets/natural_habitats_word_cloud_per_grade.png)
</details>

<details>
Expand Down Expand Up @@ -675,7 +679,7 @@ print(processing_time)
```

![](anim.gif)
![](../worksheets/anim.gif)
</details>


Expand Down Expand Up @@ -866,11 +870,9 @@ print(ndvi_background_low$raster)
<summary>Click to expand/collapse R code</summary>
```{r, cache=TRUE}
ndvi <- create_mask_and_plot(denver_redlining, background_raster = ndvi_background_low$raster, roads = roads, rivers = rivers)
ndvi$mask_sf
ndvi$plot
```

![](redlining_mask_ndvi.png)
![](../worksheets/redlining_mask_ndvi.png)
</details>


Expand Down Expand Up @@ -1002,7 +1004,7 @@ crime_cloud <- create_wordclouds_by_grade(Crime$layer, output_file = "Crime_word
```

![](Crime_word_cloud_per_grade.png)
![](../worksheets/Crime_word_cloud_per_grade.png)
</details>


Expand Down Expand Up @@ -1100,7 +1102,7 @@ Denver_police_shootings$layer
```

![](Police shootings.png)
![](../worksheets/Police shootings.png)
</details>


Expand All @@ -1111,6 +1113,8 @@ Denver_police_shootings_cloud <- create_wordclouds_by_grade(Denver_police_shooti
```

![](police_shootings_word_cloud_per_grade.png)
</details>

![](../worksheets/police_shootings_word_cloud_per_grade.png)


0 comments on commit b364e3f

Please sign in to comment.