Before any code, meet the data the whole course works on: the Survey of Fishing Households 2025, kept in three regional databases. You check your laptop is ready, learn how the ten tables nest (a household, its selection record and its members; a fishing unit and its crew, boats, gear, catch, landing sites and assistance), how a key of several parts ties them together, which records are marked as removed, and which codes fall outside their lists.
If you come from R, the last section writes the R steps used most in survey work, filter, mutate and inner_join, in pandas, with polars beside each, and names the two R habits that break in Python.
What you do
Section titled “What you do”- Your laptop and the course folder ready
- The survey: its tables, keys and codebook
- From the tidyverse to pandas and polars: filter, mutate, inner_join
The module’s notebooks
Section titled “The module’s notebooks”- 00_start.pyStart hereRead itCompanion · 4 exercises
The notebooks are in your course folder; here you can read them without running anything. For reference in any module: primer: from r to python and primer: survey sampling in one page and glossary.
Quizzes
- Pre-testBefore you start. Questions on the whole course, before you learn it. The post-test at the end of the course asks them again, so you can see what you learned.Python for Survey Statistics: the course test ↗
- Check-inAt the end of the module. A short check on “Start here”, and how ready you feel; its answers show as soon as you submit.Check-in: Start here ↗
The quizzes are on BNHR Quizzes and count toward nothing. Learning on your own, a quiz opens as the self-paced one; while a training runs, it asks which training you are in.