Publications by Harold Nelson

Notes 360 Mar 24

24.03.2021

Notes Mar 24 Harold Nelson 3/22/2021 Setup library(tidyverse) ## ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.0 ── ## ✓ ggplot2 3.3.3 ✓ purrr 0.3.4 ## ✓ tibble 3.0.6 ✓ dplyr 1.0.4 ## ✓ tidyr 1.1.2 �...

751 sym R (10834 sym/34 pcs)

A Slidy

27.04.2021

Untitled Harold Nelson 4/27/2021 R Markdown This is an R Markdown presentation. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see http://rmarkdown.rstudio.com. When you click the Knit button a document will be generated that includes both content as well as the outpu...

502 sym R (262 sym/2 pcs) 1 img

Dplyr Basics

26.01.2022

Dplyr Basics library(tidyverse) ## ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.1 ── ## ✓ ggplot2 3.3.5 ✓ purrr 0.3.4 ## ✓ tibble 3.1.5 ✓ dplyr 1.0.7 ## ✓ tidyr 1.1.4 ✓ stringr 1.4.0 ## ✓ readr 2...

1063 sym R (4747 sym/14 pcs)

Errata for Exercises on Relationships

14.01.2022

After I wrote up the exercises and created the video, the folks at Openintro changed the name of the variable giving the father’s age from fAge to f_age. Therefore, the existing code is incorrect. library(openintro) ## Loading required package: airports ## Loading required package: cherryblossom ## Loading required package: usdata str(births) #...

267 sym R (945 sym/8 pcs)

Document

12.01.2022

I’m going to look at CDC. load("~/Dropbox/RProjects/Week 1/cdc.Rdata") str(cdc) ## 'data.frame': 20000 obs. of 9 variables: ## $ genhlth : Factor w/ 5 levels "excellent","very good",..: 3 3 3 3 2 2 2 2 3 3 ... ## $ exerany : num 0 0 1 1 0 1 1 0 0 1 ... ## $ hlthplan: num 1 1 1 1 1 1 1 1 1 1 ... ## $ smoke100: num 0 1 1 0 0 0 0 0 1 0 ...

35 sym R (1679 sym/4 pcs)

Read SAC R

11.11.2021

Read SAC with R Harold Nelson 11/11/2021 Setup Get the packages we need. library(eseis) library(tidyverse) Read the Data Also get the structure and look at the metadata. sac1 <- read_sac("puertorico2.SAC") str(sac1,max.level = 1) ## List of 4 ## $ signal : num [1:47520] -495 -632 -684 -689 -657 -612 -561 -492 -411 -315 ... ## $ meta :Lis...

176 sym R (848 sym/6 pcs) 1 img

Thurston County Wetlands

10.11.2021

Thurston County Wetlands Harold Nelson 11/9/2021 Setup library(tidyverse) library(sf) library(tmap) There is a video walkthrough available at https://www.youtube.com/watch?v=eIBv5wkoUTc. Right-click and select open in new tab/window to watch. Thurston County Geodata I went to the Thurston County GeoData Center at https://gisdata-thurston.open...

982 sym R (5571 sym/15 pcs) 3 img

Transit Stops

09.11.2021

Transit Stops Harold Nelson 11/9/2021 Setup library(tidyverse) library(sf) library(tmap) Data Source This data can be obtained at https://wsdot.wa.gov/mapsdata/products/gisdata.htm. There is a video walkthrough at https://www.youtube.com/watch?v=7mDPECpRIhY To see the video, right-click and open in a new tab or window. Examine GDB st_layers(...

447 sym R (1062 sym/9 pcs) 2 img

Chapter 7

08.11.2021

Chapter 7 Harold Nelson 11/8/2021 library(raster) ## Loading required package: sp library(rgdal) ## Please note that rgdal will be retired by the end of 2023, ## plan transition to sf/stars/terra functions using GDAL and PROJ ## at your earliest convenience. ## ## rgdal: version: 1.5-27, (SVN revision 1148) ## Geospatial Da...

72 sym R (2637 sym/25 pcs) 2 img

Thurston County Land Cover

08.11.2021

Thurston Land Cover Harold Nelson 11/7/2021 Setup library(raster) ## Loading required package: sp library(tmap) ## Registered S3 methods overwritten by 'stars': ## method from ## st_bbox.SpatRaster sf ## st_crs.SpatRaster sf library(sf) ## Linking to GEOS 3.8.1, GDAL 3.2.1, PROJ 7.2.1 library(tidyverse) ## ── Attaching...

493 sym R (1867 sym/25 pcs) 4 img