1. Learn
  2. /
  3. Courses
  4. /
  5. Scalable Data Processing in R

Exercise

Borrower Race and Ethnicity by Year (II)

In this exercise, you'll use both iotools and bigtabulate to tabulate borrower race and ethnicity by year.

Instructions

100 XP

iotools and bigtabulate are loaded in your workspace.

  • Create a function make_table() that reads in chunk as a matrix and then tabulates it by borrower race and year.
  • Use chunk.apply() to import the data from the file connection we created for you.
  • Convert race_year_table to a data frame.