Homework 07

ImportantHW Instructions

Before starting, review the HW Instructions ⭐ for details on submission procedure.

Main Goals

The main goals of this homework assignment are:

  • Understand base R data structures (vectors, lists, array, matrix, data.frame/tibble)
  • Understand subsetting with base R
  • Understand iterative development and debugging
  • Understand iteration for creation or side effects
  • Understand wrangling multiple variables with across()
  • Understand for loops in R (importance of storage)
  • Understand anonymous functions

Non-TidyTuesday Section

This section of this homework consists of 2 challenge:

  • The first challenge involves practicing iteration with map functions and working with JSON files. See the first NTT Template file for details and expectations.
  • The second challenge involves working directly with the Census API so that you can practice pulling data directly from an API. See the second NTT Template file for details and expectations.

TidyTuesday Section (optional)

ImportantInstructions

You can count work on this week’s TidyTuesday toward the exceptional work required for an A in the Homework component.

Explore the week’s TidyTuesday challenge. Develop a research question, then answer it through a short data story with effective visualization(s). Provide sufficient background for readers to grasp your narrative.