Should I OOP?
Object-oriented programming (OOP) is very powerful, but not appropriate for every data analysis workflow. Which of the following scenarios are a good fit for using object-oriented programming?
- Cleaning up a dirty dataset.
- Writing an interface to the Internet Movie Database API.
- Creating objects to work with cartographic data for spatial analysis.
- Using ggplot2 to visualize your dataset.
This exercise is part of the course
Object-Oriented Programming with S3 and R6 in R
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
