Skip to content

Commit

Permalink
maps fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Nics-Github committed Nov 15, 2023
1 parent 6c45edb commit 625cd47
Show file tree
Hide file tree
Showing 5 changed files with 79 additions and 30 deletions.
Binary file modified docs/course-materials/.DS_Store
Binary file not shown.
Binary file modified docs/course-materials/in-class-activies/.DS_Store
Binary file not shown.
Binary file not shown.
82 changes: 54 additions & 28 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,34 @@ <h1>Day 29 The other Mapping</h1>
<p>One more group project and one final project.</p>
<p><a href="https://www.linkedin.com/in/beckysweger/">Becky Sweger</a> to talk on Monday Nov 27.</p>
<p><a href="https://forms.gle/pXGRTJBx1UovvY8G6">Questions for Becky</a></p>
<p><a href="./course-materials/lectures/maps-ggplot.html">Lecture: static maps</a></p>
<p><a href="./course-materials/in-class-activies/Lec30-32In-classExercises-Mapping.zip">Activity: Maps</a></p>
<div class="callout callout-style-default callout-note callout-titled">
<div class="callout-header d-flex align-content-center" data-bs-toggle="collapse" data-bs-target=".callout-1-contents" aria-controls="callout-1" aria-expanded="false" aria-label="Toggle callout">
<div class="callout-icon-container">
<i class="callout-icon"></i>
</div>
<div class="callout-title-container flex-fill">
Libraries
</div>
<div class="callout-btn-toggle d-inline-block border-0 py-1 ps-1 pe-0 float-end"><i class="callout-toggle"></i></div>
</div>
<div id="callout-1" class="callout-1-contents callout-collapse collapse">
<div class="callout-body-container callout-body">
<p>You will need to install the libraries below.</p>
<ul>
<li><p>(fivethirtyeight)</p></li>
<li><p>(leaflet)</p></li>
<li><p>(sf)</p></li>
<li><p>(maps)</p></li>
<li><p>(tidycensus)</p></li>
<li><p>(tmaptools)</p></li>
<li><p>(macleish)</p></li>
</ul>
</div>
</div>
</div>
<p><a href="https://www.youtube.com/watch?v=vVX-PrBRtTY">West Wing</a></p>
<p><a href="./course-materials/lectures/maps-ggplot.html">Example: static maps</a></p>
<p><a href="./course-materials/in-class-activies/Mapping.zip">Activity: Maps</a></p>
</section>
<section id="day-28-lab-6--map" class="level1">
<h1>Day 28 Lab 6- map()</h1>
Expand All @@ -275,7 +301,7 @@ <h1>Day 27 <code>map()</code> and <code>across()</code> practice</h1>
<h1>Day 26 Iteration</h1>
<p><a href="https://forms.gle/239mzry4vtcMCfsv9">Do we need more class time</a>?</p>
<div class="callout callout-style-default callout-tip callout-titled">
<div class="callout-header d-flex align-content-center" data-bs-toggle="collapse" data-bs-target=".callout-1-contents" aria-controls="callout-1" aria-expanded="false" aria-label="Toggle callout">
<div class="callout-header d-flex align-content-center" data-bs-toggle="collapse" data-bs-target=".callout-2-contents" aria-controls="callout-2" aria-expanded="false" aria-label="Toggle callout">
<div class="callout-icon-container">
<i class="callout-icon"></i>
</div>
Expand All @@ -284,7 +310,7 @@ <h1>Day 26 Iteration</h1>
</div>
<div class="callout-btn-toggle d-inline-block border-0 py-1 ps-1 pe-0 float-end"><i class="callout-toggle"></i></div>
</div>
<div id="callout-1" class="callout-1-contents callout-collapse collapse">
<div id="callout-2" class="callout-2-contents callout-collapse collapse">
<div class="callout-body-container callout-body">
<p>Project 2 notes:</p>
<ul>
Expand Down Expand Up @@ -380,7 +406,7 @@ <h1>Day 18 Wrangling Practice</h1>
<section id="day-17-joining-tables" class="level1">
<h1>Day 17 Joining tables</h1>
<div class="callout callout-style-default callout-tip callout-titled">
<div class="callout-header d-flex align-content-center" data-bs-toggle="collapse" data-bs-target=".callout-2-contents" aria-controls="callout-2" aria-expanded="false" aria-label="Toggle callout">
<div class="callout-header d-flex align-content-center" data-bs-toggle="collapse" data-bs-target=".callout-3-contents" aria-controls="callout-3" aria-expanded="false" aria-label="Toggle callout">
<div class="callout-icon-container">
<i class="callout-icon"></i>
</div>
Expand All @@ -389,7 +415,7 @@ <h1>Day 17 Joining tables</h1>
</div>
<div class="callout-btn-toggle d-inline-block border-0 py-1 ps-1 pe-0 float-end"><i class="callout-toggle"></i></div>
</div>
<div id="callout-2" class="callout-2-contents callout-collapse collapse">
<div id="callout-3" class="callout-3-contents callout-collapse collapse">
<div class="callout-body-container callout-body">
<p>If you tried to push the <code>sqf_2011.csv</code> to github you probably got an error.</p>
<p>First save your qmd somewhere.</p>
Expand Down Expand Up @@ -431,7 +457,7 @@ <h1>Day 14 Wrangling</h1>
<h1>Day 13 Project 1</h1>
<p>Today we are working on project 1.</p>
<div class="callout callout-style-default callout-tip callout-titled">
<div class="callout-header d-flex align-content-center" data-bs-toggle="collapse" data-bs-target=".callout-3-contents" aria-controls="callout-3" aria-expanded="false" aria-label="Toggle callout">
<div class="callout-header d-flex align-content-center" data-bs-toggle="collapse" data-bs-target=".callout-4-contents" aria-controls="callout-4" aria-expanded="false" aria-label="Toggle callout">
<div class="callout-icon-container">
<i class="callout-icon"></i>
</div>
Expand All @@ -440,7 +466,7 @@ <h1>Day 13 Project 1</h1>
</div>
<div class="callout-btn-toggle d-inline-block border-0 py-1 ps-1 pe-0 float-end"><i class="callout-toggle"></i></div>
</div>
<div id="callout-3" class="callout-3-contents callout-collapse collapse">
<div id="callout-4" class="callout-4-contents callout-collapse collapse">
<div class="callout-body-container callout-body">
<ul>
<li><p>Don’t forget to render</p></li>
Expand All @@ -451,7 +477,7 @@ <h1>Day 13 Project 1</h1>
</div>
</div>
<div class="callout callout-style-default callout-tip callout-titled">
<div class="callout-header d-flex align-content-center" data-bs-toggle="collapse" data-bs-target=".callout-4-contents" aria-controls="callout-4" aria-expanded="false" aria-label="Toggle callout">
<div class="callout-header d-flex align-content-center" data-bs-toggle="collapse" data-bs-target=".callout-5-contents" aria-controls="callout-5" aria-expanded="false" aria-label="Toggle callout">
<div class="callout-icon-container">
<i class="callout-icon"></i>
</div>
Expand All @@ -460,7 +486,7 @@ <h1>Day 13 Project 1</h1>
</div>
<div class="callout-btn-toggle d-inline-block border-0 py-1 ps-1 pe-0 float-end"><i class="callout-toggle"></i></div>
</div>
<div id="callout-4" class="callout-4-contents callout-collapse collapse">
<div id="callout-5" class="callout-5-contents callout-collapse collapse">
<div class="callout-body-container callout-body">
<ul>
<li><p>This is a helpful website: <code>https://ioflood.com/blog/solved-git-error-you-have-divergent-branches-and-need-to-specify-how-to-reconcile-them/</code></p></li>
Expand All @@ -482,7 +508,7 @@ <h1>Day 12 Project 1</h1>
<p>Today we are working on project 1.</p>
<p>(We will not normally have this much time to work on projects in class).</p>
<div class="callout callout-style-default callout-tip callout-titled">
<div class="callout-header d-flex align-content-center" data-bs-toggle="collapse" data-bs-target=".callout-5-contents" aria-controls="callout-5" aria-expanded="false" aria-label="Toggle callout">
<div class="callout-header d-flex align-content-center" data-bs-toggle="collapse" data-bs-target=".callout-6-contents" aria-controls="callout-6" aria-expanded="false" aria-label="Toggle callout">
<div class="callout-icon-container">
<i class="callout-icon"></i>
</div>
Expand All @@ -491,7 +517,7 @@ <h1>Day 12 Project 1</h1>
</div>
<div class="callout-btn-toggle d-inline-block border-0 py-1 ps-1 pe-0 float-end"><i class="callout-toggle"></i></div>
</div>
<div id="callout-5" class="callout-5-contents callout-collapse collapse">
<div id="callout-6" class="callout-6-contents callout-collapse collapse">
<div class="callout-body-container callout-body">
<ul>
<li><p>Consider the ethics.</p></li>
Expand All @@ -515,7 +541,7 @@ <h1>Day 10 Lab 3</h1>
<p>Lab 3 is due next Wednesday by midnight.</p>
<p><a href="https://moodle.smith.edu/course/view.php?id=48189#section-1">Lab 3</a></p>
<div class="callout callout-style-default callout-warning callout-titled">
<div class="callout-header d-flex align-content-center" data-bs-toggle="collapse" data-bs-target=".callout-6-contents" aria-controls="callout-6" aria-expanded="false" aria-label="Toggle callout">
<div class="callout-header d-flex align-content-center" data-bs-toggle="collapse" data-bs-target=".callout-7-contents" aria-controls="callout-7" aria-expanded="false" aria-label="Toggle callout">
<div class="callout-icon-container">
<i class="callout-icon"></i>
</div>
Expand All @@ -524,7 +550,7 @@ <h1>Day 10 Lab 3</h1>
</div>
<div class="callout-btn-toggle d-inline-block border-0 py-1 ps-1 pe-0 float-end"><i class="callout-toggle"></i></div>
</div>
<div id="callout-6" class="callout-6-contents callout-collapse collapse">
<div id="callout-7" class="callout-7-contents callout-collapse collapse">
<div class="callout-body-container callout-body">
<p><strong>You will be asked for a URI</strong> enter this: <code>http://localhost:1410/</code></p>
<p>Step 5: part 3. To set the line color do color=“green”</p>
Expand All @@ -540,7 +566,7 @@ <h1>Day 10 Lab 3</h1>
<h1>Day 9 Markdown and Github</h1>
<p><a href="https://scao53.github.io/sds192spring2023/slides/Lec28-Markdown.html#1">Authoring Markdown</a></p>
<div class="callout callout-style-default callout-warning callout-titled">
<div class="callout-header d-flex align-content-center" data-bs-toggle="collapse" data-bs-target=".callout-7-contents" aria-controls="callout-7" aria-expanded="false" aria-label="Toggle callout">
<div class="callout-header d-flex align-content-center" data-bs-toggle="collapse" data-bs-target=".callout-8-contents" aria-controls="callout-8" aria-expanded="false" aria-label="Toggle callout">
<div class="callout-icon-container">
<i class="callout-icon"></i>
</div>
Expand All @@ -549,7 +575,7 @@ <h1>Day 9 Markdown and Github</h1>
</div>
<div class="callout-btn-toggle d-inline-block border-0 py-1 ps-1 pe-0 float-end"><i class="callout-toggle"></i></div>
</div>
<div id="callout-7" class="callout-7-contents callout-collapse collapse">
<div id="callout-8" class="callout-8-contents callout-collapse collapse">
<div class="callout-body-container callout-body">
<p>Check comments for Lab 1. Grades on moodle shortly</p>
<p>Due tonight by midnight.</p>
Expand All @@ -565,7 +591,7 @@ <h2 class="anchored" data-anchor-id="project-1"><a href="https://moodle.smith.ed
<p>Project 1 Data Dictionary</p>
<p><a href="./course-materials/in-class-activies/Lec09In-classExercise-PolishingFigures.zip">Polishing Figures</a></p>
<div class="callout callout-style-default callout-tip callout-titled">
<div class="callout-header d-flex align-content-center" data-bs-toggle="collapse" data-bs-target=".callout-8-contents" aria-controls="callout-8" aria-expanded="false" aria-label="Toggle callout">
<div class="callout-header d-flex align-content-center" data-bs-toggle="collapse" data-bs-target=".callout-9-contents" aria-controls="callout-9" aria-expanded="false" aria-label="Toggle callout">
<div class="callout-icon-container">
<i class="callout-icon"></i>
</div>
Expand All @@ -574,7 +600,7 @@ <h2 class="anchored" data-anchor-id="project-1"><a href="https://moodle.smith.ed
</div>
<div class="callout-btn-toggle d-inline-block border-0 py-1 ps-1 pe-0 float-end"><i class="callout-toggle"></i></div>
</div>
<div id="callout-8" class="callout-8-contents callout-collapse collapse">
<div id="callout-9" class="callout-9-contents callout-collapse collapse">
<div class="callout-body-container callout-body">
<p>You may need to set your working directory.</p>
<p>The easiest way to do this is to find your Lec09-…zip in the file pane and go gear-icon &gt; “Set As Working Directory”</p>
Expand All @@ -601,7 +627,7 @@ <h1>Day 6 Stats and Boxplots</h1>
<section id="other-things" class="level2">
<h2 class="anchored" data-anchor-id="other-things">Other things</h2>
<div class="callout callout-style-default callout-note callout-titled">
<div class="callout-header d-flex align-content-center" data-bs-toggle="collapse" data-bs-target=".callout-9-contents" aria-controls="callout-9" aria-expanded="false" aria-label="Toggle callout">
<div class="callout-header d-flex align-content-center" data-bs-toggle="collapse" data-bs-target=".callout-10-contents" aria-controls="callout-10" aria-expanded="false" aria-label="Toggle callout">
<div class="callout-icon-container">
<i class="callout-icon"></i>
</div>
Expand All @@ -610,7 +636,7 @@ <h2 class="anchored" data-anchor-id="other-things">Other things</h2>
</div>
<div class="callout-btn-toggle d-inline-block border-0 py-1 ps-1 pe-0 float-end"><i class="callout-toggle"></i></div>
</div>
<div id="callout-9" class="callout-9-contents callout-collapse collapse">
<div id="callout-10" class="callout-10-contents callout-collapse collapse">
<div class="callout-body-container callout-body">
<p>Some students are not getting “red” to be red. Try this: Tools menu &gt; global options &gt; code &gt; display &gt; “enable preview of named and hex colors</p>
<p>If that doesn’t work, <a href="https://github.com/rstudio/rstudio/issues/13118">maybe its a bug?</a></p>
Expand Down Expand Up @@ -653,7 +679,7 @@ <h2 class="anchored" data-anchor-id="colors">Colors</h2>
<section id="day-4-github-lab" class="level1">
<h1>Day 4 Github lab</h1>
<div class="callout callout-style-default callout-note callout-titled">
<div class="callout-header d-flex align-content-center" data-bs-toggle="collapse" data-bs-target=".callout-10-contents" aria-controls="callout-10" aria-expanded="false" aria-label="Toggle callout">
<div class="callout-header d-flex align-content-center" data-bs-toggle="collapse" data-bs-target=".callout-11-contents" aria-controls="callout-11" aria-expanded="false" aria-label="Toggle callout">
<div class="callout-icon-container">
<i class="callout-icon"></i>
</div>
Expand All @@ -662,7 +688,7 @@ <h1>Day 4 Github lab</h1>
</div>
<div class="callout-btn-toggle d-inline-block border-0 py-1 ps-1 pe-0 float-end"><i class="callout-toggle"></i></div>
</div>
<div id="callout-10" class="callout-10-contents callout-collapse collapse">
<div id="callout-11" class="callout-11-contents callout-collapse collapse">
<div class="callout-body-container callout-body">
<p>Link github account to github classroom - sign into github</p>
<ul>
Expand Down Expand Up @@ -697,7 +723,7 @@ <h1>Day 2 Taxonomy</h1>
<h3 class="anchored" data-anchor-id="for-help">For Help</h3>
<p><a href="https://docs.google.com/document/d/1P7IyZ4On9OlrCOhygFxjC7XhQqyw8OludwChz-uFd_o/edit">The six-fixes</a> <a href="./course-materials/syllabus/syllabus.html">Student hours</a> <a href="https://www.smith.edu/academics/spinelli-center/tutoring#disciplines">Spennlli center</a></p>
<div class="callout callout-style-default callout-tip callout-titled">
<div class="callout-header d-flex align-content-center" data-bs-toggle="collapse" data-bs-target=".callout-11-contents" aria-controls="callout-11" aria-expanded="false" aria-label="Toggle callout">
<div class="callout-header d-flex align-content-center" data-bs-toggle="collapse" data-bs-target=".callout-12-contents" aria-controls="callout-12" aria-expanded="false" aria-label="Toggle callout">
<div class="callout-icon-container">
<i class="callout-icon"></i>
</div>
Expand All @@ -706,7 +732,7 @@ <h3 class="anchored" data-anchor-id="for-help">For Help</h3>
</div>
<div class="callout-btn-toggle d-inline-block border-0 py-1 ps-1 pe-0 float-end"><i class="callout-toggle"></i></div>
</div>
<div id="callout-11" class="callout-11-contents callout-collapse collapse">
<div id="callout-12" class="callout-12-contents callout-collapse collapse">
<div class="callout-body-container callout-body">
<p>Help us help you: take screenshots of your screen and post them to Slack.</p>
<ul>
Expand All @@ -720,7 +746,7 @@ <h3 class="anchored" data-anchor-id="for-help">For Help</h3>
</div>
<p><a href="https://docs.google.com/document/d/1EJ389lsPzAutfq1HEspdTNyyVAk8AJDItQPXgI58dus/edit?usp=sharing">Prologue to 1.4 document</a></p>
<div class="callout callout-style-default callout-note callout-titled">
<div class="callout-header d-flex align-content-center" data-bs-toggle="collapse" data-bs-target=".callout-12-contents" aria-controls="callout-12" aria-expanded="false" aria-label="Toggle callout">
<div class="callout-header d-flex align-content-center" data-bs-toggle="collapse" data-bs-target=".callout-13-contents" aria-controls="callout-13" aria-expanded="false" aria-label="Toggle callout">
<div class="callout-icon-container">
<i class="callout-icon"></i>
</div>
Expand All @@ -729,7 +755,7 @@ <h3 class="anchored" data-anchor-id="for-help">For Help</h3>
</div>
<div class="callout-btn-toggle d-inline-block border-0 py-1 ps-1 pe-0 float-end"><i class="callout-toggle"></i></div>
</div>
<div id="callout-12" class="callout-12-contents callout-collapse collapse">
<div id="callout-13" class="callout-13-contents callout-collapse collapse">
<div class="callout-body-container callout-body">
<p><a href="https://rsvp.withgoogle.com/events/fall-2023-cap-outreach_3b5b3d/forms/registration">Google will be on campus.</a></p>
<ul>
Expand Down Expand Up @@ -760,7 +786,7 @@ <h3 class="anchored" data-anchor-id="lecture-1">Lecture</h3>
<section id="general-questions-and-comments" class="level3">
<h3 class="anchored" data-anchor-id="general-questions-and-comments">General Questions and Comments</h3>
<div class="callout callout-style-default callout-note callout-titled">
<div class="callout-header d-flex align-content-center" data-bs-toggle="collapse" data-bs-target=".callout-13-contents" aria-controls="callout-13" aria-expanded="false" aria-label="Toggle callout">
<div class="callout-header d-flex align-content-center" data-bs-toggle="collapse" data-bs-target=".callout-14-contents" aria-controls="callout-14" aria-expanded="false" aria-label="Toggle callout">
<div class="callout-icon-container">
<i class="callout-icon"></i>
</div>
Expand All @@ -769,7 +795,7 @@ <h3 class="anchored" data-anchor-id="general-questions-and-comments">General Que
</div>
<div class="callout-btn-toggle d-inline-block border-0 py-1 ps-1 pe-0 float-end"><i class="callout-toggle"></i></div>
</div>
<div id="callout-13" class="callout-13-contents callout-collapse collapse">
<div id="callout-14" class="callout-14-contents callout-collapse collapse">
<div class="callout-body-container callout-body">
<ul>
<li><p>In slack- post about yourself (check your email for a slack invitation). Include somethings you want to tell people and your github username.</p></li>
Expand Down
27 changes: 25 additions & 2 deletions index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,32 @@ One more group project and one final project.

[Questions for Becky](https://forms.gle/pXGRTJBx1UovvY8G6)

[Lecture: static maps](./course-materials/lectures/maps-ggplot.qmd)

[Activity: Maps](./course-materials/in-class-activies/Lec30-32In-classExercises-Mapping.zip)
::: {.callout-note collapse="true"}
# Libraries

You will need to install the libraries below.

- (fivethirtyeight)

- (leaflet)

- (sf)

- (maps)

- (tidycensus)

- (tmaptools)

- (macleish)
:::

[West Wing](https://www.youtube.com/watch?v=vVX-PrBRtTY)

[Example: static maps](./course-materials/lectures/maps-ggplot.qmd)

[Activity: Maps](./course-materials/in-class-activies/Mapping.zip)

# Day 28 Lab 6- map()

Expand Down

0 comments on commit 625cd47

Please sign in to comment.