Skip to content

Commit

Permalink
next slides
Browse files Browse the repository at this point in the history
  • Loading branch information
clauswilke committed Apr 9, 2024
1 parent 9516f20 commit 03f7895
Show file tree
Hide file tree
Showing 98 changed files with 47,665 additions and 47,286 deletions.
27 changes: 27 additions & 0 deletions docs/schedule.html
Original file line number Diff line number Diff line change
Expand Up @@ -2759,6 +2759,33 @@ <h3 id="apr-4-2024hierarchical-clustering">22. Apr 4, 2024—Hierarchical cluste
</li>
<li><a href="worksheets/hierarchical-clustering.Rmd">Worksheet</a></li>
</ul>
<h3 id="apr-9-2024visualizing-geospatial-data">23. Apr 9, 2024—Visualizing geospatial data</h3>
<p class="nospace">
Materials:
</p>
<ul>
<li><a href="slides/geospatial-data.html">Slides</a><br />
</li>
<li><a href="worksheets/geospatial-data.Rmd">Worksheet</a></li>
</ul>
<h3 id="apr-11-2024redundant-coding-text-annotations">24. Apr 11, 2024—Redundant coding, text annotations</h3>
<p class="nospace">
Materials:
</p>
<ul>
<li><a href="slides/redundant-coding.html">Slides</a><br />
</li>
<li><a href="worksheets/redundant-coding.Rmd">Worksheet</a></li>
</ul>
<h3 id="apr-16-2024interactive-plots">25. Apr 16, 2024—Interactive plots</h3>
<p class="nospace">
Materials:
</p>
<ul>
<li><a href="slides/interactive-plots.html">Slides</a><br />
</li>
<li><a href="worksheets/interactive-plots.Rmd">Worksheet</a></li>
</ul>
<h2 id="homeworks">Homeworks</h2>
<p>All homeworks are due by 11:00pm on the day they are due. Homeworks need to be submitted as pdf files on Canvas.</p>
<h3 id="homework-1-due-jan-25-2024">Homework 1 (due Jan 25, 2024)</h3>
Expand Down
10 changes: 5 additions & 5 deletions docs/search.json

Large diffs are not rendered by default.

65 changes: 50 additions & 15 deletions docs/slides/geospatial-data.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
### Claus O. Wilke
]
.date[
### last updated: 2023-04-10
### last updated: 2024-04-08
]

---
Expand Down Expand Up @@ -304,6 +304,41 @@

---

## Getting the data

We'll be working with the `texas_income` dataset:

.tiny-font[

```r
texas_income &lt;- readRDS(url("https://wilkelab.org/SDS375/datasets/Texas_income.rds"))

texas_income
```

```
Simple feature collection with 254 features and 4 fields
Geometry type: MULTIPOLYGON
Dimension: XY
Bounding box: xmin: -106.6456 ymin: 25.83738 xmax: -93.50829 ymax: 36.5007
Geodetic CRS: NAD83
First 10 features:
FIPS county median_income moe geometry
1 48001 Anderson 41327 1842 MULTIPOLYGON (((-96.0648 31...
2 48003 Andrews 70423 6038 MULTIPOLYGON (((-103.0647 3...
3 48005 Angelina 44223 1611 MULTIPOLYGON (((-95.00488 3...
4 48007 Aransas 41690 3678 MULTIPOLYGON (((-96.8229 28...
5 48009 Archer 60275 5182 MULTIPOLYGON (((-98.95382 3...
6 48011 Armstrong 59737 4968 MULTIPOLYGON (((-101.6294 3...
7 48013 Atascosa 52192 3005 MULTIPOLYGON (((-98.80479 2...
8 48015 Austin 53687 3810 MULTIPOLYGON (((-96.62085 3...
9 48017 Bailey 37397 8652 MULTIPOLYGON (((-103.0469 3...
10 48019 Bandera 49863 7193 MULTIPOLYGON (((-99.60332 2...
```
]

---

## The **sf** package: Simple Features in R

.tiny-font[
Expand Down Expand Up @@ -410,7 +445,7 @@
]

.pull-right.width-50[
![](geospatial-data_files/figure-html/texas-no-aes-out-1.svg)&lt;!-- --&gt;
&lt;img src="geospatial-data_files/figure-html/texas-no-aes-out-1.svg" width="100%" /&gt;

]

Expand All @@ -430,7 +465,7 @@
]

.pull-right.width-50[
![](geospatial-data_files/figure-html/texas-sf-filter-out-1.svg)&lt;!-- --&gt;
&lt;img src="geospatial-data_files/figure-html/texas-sf-filter-out-1.svg" width="100%" /&gt;

]

Expand All @@ -450,7 +485,7 @@
]

.pull-right.width-50[
![](geospatial-data_files/figure-html/texas-sf-filter2-out-1.svg)&lt;!-- --&gt;
&lt;img src="geospatial-data_files/figure-html/texas-sf-filter2-out-1.svg" width="100%" /&gt;

]

Expand All @@ -470,7 +505,7 @@
]

.pull-right.width-50[
![](geospatial-data_files/figure-html/texas-no-coordsf-out-1.svg)&lt;!-- --&gt;
&lt;img src="geospatial-data_files/figure-html/texas-no-coordsf-out-1.svg" width="100%" /&gt;
]


Expand Down Expand Up @@ -498,7 +533,7 @@
]

.pull-right.width-50[
![](geospatial-data_files/figure-html/texas-sf-mutate-out-1.svg)&lt;!-- --&gt;
&lt;img src="geospatial-data_files/figure-html/texas-sf-mutate-out-1.svg" width="100%" /&gt;

]

Expand Down Expand Up @@ -535,7 +570,7 @@


.pull-right.width-50[
![](geospatial-data_files/figure-html/texas-sf-mutate2-out-1.svg)&lt;!-- --&gt;
&lt;img src="geospatial-data_files/figure-html/texas-sf-mutate2-out-1.svg" width="100%" /&gt;

]

Expand All @@ -560,7 +595,7 @@
]

.pull-right.width-50[
![](geospatial-data_files/figure-html/texas-styled-out-1.svg)&lt;!-- --&gt;
&lt;img src="geospatial-data_files/figure-html/texas-styled-out-1.svg" width="100%" /&gt;
]

---
Expand All @@ -584,7 +619,7 @@
]

.pull-right.width-50[
![](geospatial-data_files/figure-html/texas-coord-sf-out-1.svg)&lt;!-- --&gt;
&lt;img src="geospatial-data_files/figure-html/texas-coord-sf-out-1.svg" width="100%" /&gt;
]


Expand Down Expand Up @@ -612,7 +647,7 @@
]

.pull-right.width-50[
![](geospatial-data_files/figure-html/texas-coord-sf-3083-out-1.svg)&lt;!-- --&gt;
&lt;img src="geospatial-data_files/figure-html/texas-coord-sf-3083-out-1.svg" width="100%" /&gt;
]

.absolute-bottom-left[
Expand Down Expand Up @@ -643,7 +678,7 @@
]

.pull-right.width-50[
![](geospatial-data_files/figure-html/texas-coord-sf-32139-out-1.svg)&lt;!-- --&gt;
&lt;img src="geospatial-data_files/figure-html/texas-coord-sf-32139-out-1.svg" width="100%" /&gt;
]

.absolute-bottom-left[
Expand Down Expand Up @@ -674,7 +709,7 @@
]

.pull-right.width-50[
![](geospatial-data_files/figure-html/texas-coord-sf-3857-out-1.svg)&lt;!-- --&gt;
&lt;img src="geospatial-data_files/figure-html/texas-coord-sf-3857-out-1.svg" width="100%" /&gt;
]

.absolute-bottom-left[
Expand Down Expand Up @@ -705,7 +740,7 @@
]

.pull-right.width-50[
![](geospatial-data_files/figure-html/texas-coord-sf-4326-out-1.svg)&lt;!-- --&gt;
&lt;img src="geospatial-data_files/figure-html/texas-coord-sf-4326-out-1.svg" width="100%" /&gt;
]

.absolute-bottom-left[
Expand Down Expand Up @@ -736,7 +771,7 @@
]

.pull-right.width-50[
![](geospatial-data_files/figure-html/texas-coord-sf-3338-out-1.svg)&lt;!-- --&gt;
&lt;img src="geospatial-data_files/figure-html/texas-coord-sf-3338-out-1.svg" width="100%" /&gt;
]

.absolute-bottom-left[
Expand Down Expand Up @@ -765,7 +800,7 @@
]]

.pull-right.width-50[
![](geospatial-data_files/figure-html/world-map-out-1.svg)&lt;!-- --&gt;
&lt;img src="geospatial-data_files/figure-html/world-map-out-1.svg" width="100%" /&gt;
]

---
Expand Down
Loading

0 comments on commit 03f7895

Please sign in to comment.