Michal Michalski
https://topographos.github.io/
The classes will be in MCS1007, the new Maths and Science Building in Upper Mountjoy1.
Practical session every Friday (11 - 13.30)
17th February - Intro to R and R-Spatial
24th February - Vector based analysis
3rd March - Raster based analysis
10th March - Vector Raster interaction
# focus on learnig by doing
asar <- class_material %>% # I will prepare material for each class
live_coding() %>% # as in Data Carpentries
feedback() %>% # ask questions - I will take notes
update() %>% # I will update material and add resources
share() # I will share it as html, pdf
classes is generally built around book Gecomputation with R.1
although some additional resources are included (e.g.Intro to R)
# practical
assesment <- class_material %>% # you will re-use your material
data() %>% # I will share new data with you
analysis() %>% # you will read, wrangle, analyse and visualize data
report(500) %>% # You will write a short report
# score
score <- assesment %>%
reproducibility() %>% # the analysis should be reproducible
folder_structure() %>%
style() %>% # variables names, use of space tabs
narrative() %>% # e.g., clear comments explaining code and workflow
analysis() %>% # accuracy - code should work as intended
report() # explanation of deployed method, clear figures formatting
The summative deadline for project delivery will be 12pm, Monday 24th April 2023, via Turnitin.
“The main aim of this work is to suggest to archaeologists that there is a potential for more detailed and systematic study of spatial patterning in archaeological data.”
(Hodder and Orton, 1976, p1.)
Spatial data manipulation - usually in GIS
Spatial data analysis - descriptive and exploratory
Spatial statistical analysis - deploy statistical methods
Spatial modelling - construct models to predict outcomes
Tool - Driven Revolution in Archaeological Science 1
Tool - Driven Revolution in Archaeological Science 1
ecology has moved much earlier to open programming such as R
archaeology have yet to adapt programming
we should update training curricula
emerging researcher in archaeology should be proficient in programming / analysis to collaborate with other domains (but not necessarily an expert in computer science)
source: w3schools
case study: https://topographos.github.io/banea/index.html
CRAN Task View: Analysis of Spatial Data - link
Historical Background
Talk: A practical history of R-sig-geo by Roger Bivand
Article: Bivand, R.S. Progress in the R ecosystem for representing and handling spatial data. J Geogr Syst 23, 515–546 (2021).
learn about simple feature package
deal with coordinate reference system
create vector objects
manipulate vector objects
learn about raster class in terra package
deal with coordinate reference system
create raster objects
manipulate raster objects
Whitebox https://www.whiteboxgeo.com/
learn about raster extraction
visualize data using ggplot
‘By coining the phrase “literate programming”, I am imposing a moral commitment on everyone who hears the term; surely nobody wants to admit writing an illiterate program’
Donald E. Knuth
https://github.com/topographos/asar_project/
Q&A
Surgery (Zoom / Teams Call) in two weeks time?