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

Connected

Exercise

Apply

In this exercise, you will "apply" the function female_residence_prop() to obtain the proportion of female borrowers for both urban and rural areas for all years using the Map() function.

Instructions

100 XP

spl from the previous exercise is available in your workspace.

  • Call Map() on each of the row splits of spl.
  • Recall that the function to apply is female_residence_prop(). Assign the result to all_years.
  • View the str()ucture of all_years.