B BGU course 2024
Last updated: 2024-07-28 11:47:09
B.1 Course aims
- General knowledge in programming
- Overview of spatial data processing and analysis in R
B.2 Course details
- Course number: 128.1.0043
- Time: Sunday 16:10-19:00
- Place: Building 72, room 249
- Instructor: Michael Dorman (dorman@post.bgu.ac.il)
- Grading: 4-5 exercises (50%) + exam (50%)
- Requirements:
- Basic knowledge of GIS (e.g., “Intro to GIS” course)
- Self study
- Getting help:
- Forum on Moodle (http://moodle2.bgu.ac.il)
- Meetings (schedule by e-mail)
B.3 Lecture plan
Lesson | Date | Chapter | Exercise |
---|---|---|---|
01 | The R environment (Chapter 1), Vectors (Chapter 2) | Exercise 1 (Appendix C) | |
02 | Time series and function definitions (Chapter 3) | ||
03 | Tables, conditionals and loops (Chapter 4) | Exercise 2 (Appendix D) | |
04 | Matrices and rasters (Chapter 5) | ||
05 | Raster processing (Chapter 6) | Exercise 3 (Appendix E) | |
06 | Vector layers (Chapter 7) | ||
07 | Geometric operations with vector layers (Chapter 8) | Exercise 4 (Appendix F) | |
08 | Geometric operations with rasters (Chapter 9) | ||
09 | Combining rasters and vector layers (Chapter 10) | Exercise 5 (Appendix G) | |
10 | Processing spatio-temporal data (Chapter 11) | ||
11 | - | ||
12 | - | ||
13 | Exam questions (Appendix H) |
B.4 Exercise submission dates
Exercise | Date |
---|---|
Exercise 1 (Appendix C) | |
Exercise 2 (Appendix D) | |
Exercise 3 (Appendix E) | |
Exercise 4 (Appendix F) | |
Exercise 5 (Appendix G) |
B.5 Recordings
B.5.4 2021
- Lesson 01 (2020-10-25)
- Lesson 02 (2020-11-01)
- Lesson 03 (2020-11-02)
- Lesson 04 (2020-11-08)
- Lesson 05 (2020-11-15)
- Lesson 06 (2020-11-22)
- Lesson 07 (2020-11-29)
- Lesson 08 (2020-12-06)
- Lesson 09 (2020-12-20)
- Lesson 10 (2020-12-27)
- Lesson 11 (2021-01-03)
- Lesson 12a (2021-01-10)
- Lesson 12b (2021-01-10)
B.6 Exercise instructions
B.6.1 Guidelines
- Submission is through Moodle only
- The submission should be a single R code file
- File name is your last name + exercise number, in English, such as
dorman_01.R
- The code needs to run as is, assuming that:
- All required packages are installed
- All data files are in a directory named
data
- Do not include
install.packages
expressions - Do not include
setwd
expressions - Do include
library
expressions - Self-check:
- Start a new R session
- Manually set the working directory to where the data files are
- Run the entire script
- Late submission up to -20%, and additional -10% per week, unless coordinated in advance
- The code file should include the exercise number, your first name and last name (as comments), and mark the relevant code sections for each question (using comments). The necessary
library
expressions can be placed at the beginning of the script. For example:
B.6.2 Generality
- The code needs to be as general as possible:
- Do not use specific values except the ones given in the question
- When there are intermediate results—assign them to a variable and use the variable, not the value
- Question: what is the last value of
c(5,3,1,7,2,3,2,6)
? - Good solution:
- Bad solution: