Instruction: Demonstrate how to connect to and consume data from an API in R.
Context: This question assesses the candidate's ability to integrate R with external data sources via APIs, a useful skill for accessing and analyzing live data.
easy
medium