Guide

Build your own review route

A review route walks through chosen parts of several lessons, one after the other, as a presentation. The routes of the course page are ready-made; here we compose our own, for example the mistakes of two lessons followed by the solutions of a third, and keep the result as a link.


What a route is

A route is a list of steps. A step is one lesson and one kind of content from it. The presentation shows only the slides that hold that kind of content, moves on to the next step by itself, and crosses from lesson to lesson.

The route lives in the address of the page: whoever opens the link sees the same route. Nothing is saved in an account, and the page does not need to know who you are.

The kinds of content

Each step names one of these kinds. The word in code is what we write in the link.

  • Common mistakes mistakesThe "common mistakes" blocks: a wrong attempt, the output it produces and the reason.
  • Practice tasks tasksThe practice tasks of the page, each with its box for an answer.
  • Definitions of new terms definitionsThe place where a new term is defined, with its link to the glossary.
  • Keep in mind keep-in-mindThe short summary that closes a lesson.
  • Examples to run examplesThe Python and SQL boxes that you can run.
  • Hints hintsThe hint blocks, opened for you.
  • Solutions solutionsThe solution blocks, opened for you.
  • Whole page allEvery slide of the lesson, as in the ordinary presentation.

A kind that a lesson does not have is left out of the route when it is reached, and the route moves on.

Writing the link by hand

Add this to the address of any lesson of the course (after the lesson name):

?route=custom&steps=lesson:kind,lesson:kind&title=Name

Each part has its role:

route=custom
says that the route is composed in the link.
steps=
the list of steps, separated by commas. Each step is a lesson name, a colon and a kind: lesson:kind.
lesson
the last part of the lesson address (the list of names is below).
kind
one of the words of the kinds above, or all for the whole page.
title=
an optional name for the route, in plain text, up to 80 characters.

Lesson names for the link

These are the lessons of this course that a route can name.

  • sql-in-db-browser A Practical SQL Guide with DB Browser, Part 1: Retrieve and Analyze
  • sql-change-and-join A Practical SQL Guide with DB Browser, Part 2: Change Data and Combine Tables
  • sql-review-practice SQL Practice: Review and Back to the Practical Question (Bike Rides)
  • sql-practice-weather SQL Practice: Two Tables, One Key (Weather and Bike Rides)
  • sql-practice-aliyah SQL Practice: Where New Immigrants Settled in Israel
  • sql-practice-sp500 SQL Practice: S&P 500 Companies and Their Filings
  • sql-exercises SQL Exercises: A Question Generator
  • python-sqlite-minimum The minimum Python for working with SQLite
  • python-values-and-collections Python for Databases 1: Values, Variables and Collections
  • python-loops-and-functions Python for Databases 2: Loops and Functions
  • python-objects-and-generators Python for Databases 3: Objects and Generator Expressions
  • sql-from-python SQL from Python: Queries, Parameters and Saving Changes
  • python-orm-pony Tables as Python Objects: A First Look at Pony ORM
  • python-orm-pony-relations Pony ORM Relations: A Table That Points to Another Table
  • data-collection-beautifulsoup From a Web Page to Data: Beautiful Soup
  • data-collection-find-all From One Element to All Entries: find_all, Numbers and Missing Values
  • data-collection-linked-pages From a List to Many Pages: Following Links
  • data-collection-regex Patterns in Text: Regular Expressions
  • data-collection-regex-practice Regular Expression Lab: Practice on Real arXiv Text
  • data-collection-api Asking a Service for Data: an API and JSON

Worked examples

Each example is a real link: open it as slides, or open its printable version.

  1. The mistakes of one lesson

    One step: the lesson and the word mistakes.

    /courses/intro-data-science/sql-change-and-join?route=custom&steps=sql-change-and-join:mistakes

    Open as slidesPrintable versionPrintable version without solutions

  2. Tasks, then their solutions

    Two steps on the same lesson: first its tasks, then its solutions. The comma separates the steps.

    /courses/intro-data-science/sql-in-db-browser?route=custom&steps=sql-in-db-browser:tasks,sql-in-db-browser:solutions

    Open as slidesPrintable versionPrintable version without solutions

  3. A short review of Python, with a name

    Three steps over two lessons, and a title that is shown as the name of the route.

    /courses/intro-data-science/python-values-and-collections?route=custom&steps=python-values-and-collections:keep-in-mind,python-loops-and-functions:keep-in-mind,python-loops-and-functions:mistakes&title=A%20short%20review%20of%20Python

    Open as slidesPrintable versionPrintable version without solutions

Build a route here

Choose a lesson and a kind, add the step, and repeat. Change the order with the arrows. The link is written below and updates with every change.

Try it: add the common mistakes of a lesson, then open the route as slides.

Limits

  • A route has at most 12 steps. Further steps in a link are left out.
  • A route can name only the published lessons of this course, and only the kinds above.
  • A kind that a lesson does not have is left out when the route reaches it, and the route moves on to the next step.
  • A step that is not valid (a lesson or a kind that does not exist, or a wrong format) is left out and a short note says so. If no step is valid, the page opens as usual.
  • The links are not saved anywhere, and nothing about the route is sent to a server: the route is the address itself. The builder reads the lessons from this site, as a browser does when it opens them.
  • A printable version can be made without hints and solutions: use the version without solutions.

Sharing a route

Copy the link and send it as it is: it opens at the first lesson of the route, as slides. The printable version has its own link, with and without solutions; a printed sheet without solutions suits practice, and the version with solutions suits checking afterwards.

The ready-made routesBack to the course page