Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Challenge: Metadata | Core R Data Structures for EDA
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
Essential R Data Structures for Exploratory Data Analysis
Section 1. Chapter 32
single

single

bookChallenge: Metadata

Swipe to show menu

Task

Swipe to start coding

Practice managing metadata in data frames by attaching and retrieving custom metadata.

  • The attach_metadata function must attach the given meta object as custom metadata to the data frame df.
  • The get_metadata function must retrieve the custom metadata from the data frame.
  • The metadata should be stored and accessed as an attribute named "custom_metadata" on the data frame.

Solution

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 1. Chapter 32
single

single

Ask AI

expand

Ask AI

ChatGPT

Ask anything or try one of the suggested questions to begin our chat

some-alt