Learn R Programming

rcdf (version 0.1.3)

get_rcdf_metadata: Extract metadata from an RCDF file

Description

Retrieves a specific metadata value from a .rcdf file.

Usage

get_rcdf_metadata(path, key)

Value

The value associated with the specified metadata key, or NULL if the key does not exist.

Arguments

path

Character string. The file path to the .rcdf file.

key

Character string. The metadata key to extract from the file.

Examples

Run this code
if (FALSE) {
# Assuming "example.rcdf" is a valid RCDF file in the working directory:
get_rcdf_metadata("example.rcdf", "creation_date")
}

Run the code above in your browser using DataLab