Week 6 Overview
Welcome to week 6!
This week we’ll start off with a recap, and then introduce the apply()
functions from Base R, and the (mostly) equivalent tidyverse options from the purrr
package. We will then get into advanced function writing and querying APIs.
Week 6 Additional Readings/Learning Materials
apply()
family
purrr
Advanced Function Writing
R for Data Science: Chapter 19
Upon completion of this week, students will be able to:
query APIs to return appropriate data (CO 2)
- define the term API
- explain the common syntax often used for APIs
have a base understanding of the common
apply()
family of functions- have a working understanding on how to use common apply functions
- understand when to use which apply function
have a base understanding of the
purrr
package- have a working understanding on how to use common map functions
- understand when it may be useful to use functions from the purrr pacakge vs Base R
Improve function writing skills
- have a working understanding of how to leverage … into our function writing
- how to use stops in function writing
- and more!