Open the Putting it All Together Starter File and take a look at the helper functions in the Definitions Area.

Write the names of those functions here:

Filter and Building with our Helper Functions

Example: Make a table of only dogs (define it as dogs)

dogs = filter(animals-table, is-dog)

1 Make a table of only fixed animals (define it as fixed)

fixed =

2 Make a table with a column called "sticker", containing a label for every animal

stickers =

3 Make a table of only fixed dogs (define it as fixed-dogs)

fixed-dogs =

Make a table of old, fixed dogs…​ with a "sticker" column! (define it as sticker-table)

sticker-table =

Define Additional Helper Functions

4 Define a function called is-lizard, which consumes a Row of the animals table and computes whether the animal is a lizard.

5 Define a function called months, which consumes a Row of the animals table and divides the weeks by 4.435 to get the approximate equivalent number of months to adoption.

Make a table with a "months" column (define it as months-table)

Make Displays Using Your New Tables

6 Make a pie chart showing the sex of only fixed dogs.

7 Make a box plot showing the distribution of months to adoption.

Make a scatter plot of old, fixed dogs, comparing age to pounds using the "sticker" as the label!

These materials were developed partly through support of the National Science Foundation, (awards 1042210, 1535276, 1648684, 1738598, 2031479, and 1501927). CCbadge Bootstrap by the Bootstrap Community is licensed under a Creative Commons 4.0 Unported License. This license does not grant permission to run training or professional development. Offering training or professional development with materials substantially derived from Bootstrap must be approved in writing by a Bootstrap Director. Permissions beyond the scope of this license, such as to run training, may be available by contacting contact@BootstrapWorld.org.