Get startedGet started for free

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?

  1. Cleaning up a dirty dataset.
  2. Writing an interface to the Internet Movie Database API.
  3. Creating objects to work with cartographic data for spatial analysis.
  4. Using ggplot2 to visualize your dataset.

This exercise is part of the course

Object-Oriented Programming with S3 and R6 in R

View Course

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise