Publications by David Leydet
Introduction to Spatial Data and Simple Features
Introduction to Simple Features (sf) library(ggplot2) library(plotly) library(raster) library(RColorBrewer) library(viridis) library(sf) library(kableExtra) library(maps) library(rgdal) setwd("~/Desktop/University of Utah PhD /Course Work/Fall 2022 Semester/GEOG6000_Data Analysis/lab08") path_to_data = system.file("shape/nc.shp", package = "sf")...
790 sym R (30339 sym/123 pcs) 31 img 1 tbl
Spatial Data Visualization - tmap and mapview
Useful websites to reference for these tools: Mapview Controls: https://r-spatial.github.io/mapview/articles/mapview_02-advanced.html Mapview Basemaps: https://leaflet-extras.github.io/leaflet-providers/preview/ ggplot mapping: https://r-spatial.github.io/sf/articles/sf5.html Producing kable tables: https://cran.r-project.org/web/packages/kableEx...
658 sym R (12385 sym/36 pcs) 11 img
Spatial Regression Models I
Spatial Regression I ## Set working directory setwd("~/Desktop/University of Utah PhD /Course Work/Fall 2022 Semester/GEOG6000_Data Analysis/lab09") library(RColorBrewer) #color palettes library(sf) #simple features for spatial data library(spdep) library(spatialreg) library(tmap) #mapping package library(kableExtra) #table modification library...
5480 sym R (34918 sym/95 pcs) 29 img 1 tbl
Spatial Regression II
Spatial Regression II library(RColorBrewer) #color palettes library(sf) #simple features for spatial data library(spdep) #spatial regression library(spatialreg) #spatial regression library(spgwr) #geographically weighted regression library(tmap) #mapping package library(kableExtra) #table modification library(dbscan) #density based clustering lib...
7146 sym R (22203 sym/68 pcs) 11 img
Introduction to Spatial Interpolation
##Set working directory setwd("~/Desktop/University of Utah PhD /Course Work/Fall 2022 Semester/GEOG6000_Data Analysis/lab12") ##Load required libraries library(ggplot2) library(gstat) library(RColorBrewer) library(sf) library(stars) library(viridis) Reading the Data swiss <- read.csv("../datafiles/swiss_ppt/swiss_ppt.csv") head(swiss) ## id...
3792 sym R (11824 sym/61 pcs) 24 img
Geostatistics II (Kriging Methods II)
Geostatistics II ##Set working directory setwd("~/Desktop/University of Utah PhD /Course Work/Fall 2022 Semester/GEOG6000_Data Analysis/lab13") ##Load Packages library(ggplot2) #data visualization library(gstat) #geostatistics library(RColorBrewer) #color palette library(sf) #simple feature spatial objects ## Linking to GEOS 3.11.0, GDAL 3.5.3, ...
8484 sym R (18835 sym/99 pcs) 46 img
Point Pattern Processes
##Set Working Directory setwd("~/Desktop/University of Utah PhD /Course Work/Fall 2022 Semester/GEOG6000_Data Analysis/lab14") library(sf) #simple features library(spatstat) #used for point pattern analysis Useful Notes: Add a new chunk by clicking the Insert Chunk button on the toolbar or by pressing Cmd+Option+I. When you save the notebook, a...
13181 sym R (12383 sym/66 pcs) 28 img
Initial Dissertation Research
This project is an exploration of climate change and conflict in Pakistan. This project uses the following datasets: Pakistan Conflict Data - Acquired from the Armed Conflict Location and Event Data Project (ACLED) on 21SEP2022. See https://acleddata.com/terms-of-use/ Regional Climate Data - ERA5 Dataset with monthly averaged temperature and pre...
1588 sym R (53928 sym/114 pcs) 33 img 13 tbl