An on-line coding primer for the GSA theme in King's College London's Department of Geography
Welcome! This is the repository for the interactive Jupyter notebooks that will teach you the basics of how to code in Python for Geographic Data Analysis.
The list of topics include:
- Notebook-1: Introduction
- Notebook-2: Thinking like a computer
- Notebook-3: The Basics (Variables, Operators and Precedence)
- Notebook-4: Dealing with Errors & Debugging
- Notebook-5: Truth & Conditions (Comparisons, Conditions and George Boole)
- Notebook-6: Lists
- Notebook-7: Dictionaries
- Notebook-8: Loops and Iteration
- Notebook-9: Functions (Automate All the Things)
- Notebook-10: Wrapping Up (A Brief Note on Style)
There are several ways to run these notebooks explained on our blog, but the most straightforward way to get started is using Binder.
By the end of the course, you will have a solid understanding of:
- The rational behind the usage of computers and computational methodologies in Geography
- The way computers "think" and "work"
- How computers programs are structured and how to execute them
- The fundamental concepts of programming (in Python, but extensible in general terms to any other programming language) such as the concept of
variable
,iteration
,data structure
,list
,object
,loop
,function
etc etc.. - How your newly acquired coding skills can extend traditional GIS methodologies and be applied to solve to geographical problems
The material contained in this repository is heavily inspired by the great work of Dani Aribas-Bel:
Arribas-Bel, D. (2016). Geographic Data Science’15. http://doi.org/{10.5281/zenodo.46313}