Exploring Australian tourism example
You find the example in the textbook here: Chapter 4.5. This is a somewhat complicated example to follow perhaps, and in the video below we go through the code line by line (almost) and explain what is going on. You may watch the video or simply study it in the book. The code is not added here, since it is the same as in the book (more or less).