Learn R Programming

dpkg (version 0.6.2)

dpkg_meta: get the metadata associated with a data package

Description

get the metadata associated with a data package

Usage

dpkg_meta(x)

Value

a list of metadata key value pairs

Arguments

x

a dpkg object

Examples

Run this code

x <- as_dpkg(mtcars, name = "mtcars", title = "Motor Trend Road Car Tests")
attr(x, "description") <- "This is a data set all about characteristics of different cars"
attr(x, "homepage") <- "https://github.com/cole-brokamp/dpkg"
x

dpkg_meta(x)

Run the code above in your browser using DataLab