Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Introduction
Introduction to lists
Accessing list elements
Unnamed lists
Working with lists
Summary

Instruction

Nice! The second approach to access list elements involves using the dollar-sign operator, $ (just like with data frames). For example,

candidate$name

will return the same exact result as candidate[["name"]].

Exercise

A recruiter wants to list specific requirements for an open position named "data scientist". This recruiter wants to see how well Emma fits this role. Let's display the requirements of that position. Use the dollar-sign operator to access the requirements element of the job_role list.