Learn R Programming

rcdf (version 0.1.4)

get_attr: Get metadata attribute from RCDF data

Description

Get metadata attribute from RCDF data

Usage

get_attr(rcdf, key)

Value

RCDF attribute/s or NULL

Arguments

rcdf

RCDF data

key

Valid metadata key.

Examples

Run this code
if (FALSE) {
# Assuming `df` is a valid RCDF object

get_attr(df, "area_names")

# To get nested attributes
get_attr(df, "meta.source_note")
}

Run the code above in your browser using DataLab