Learn R Programming

dataset (version 0.3.1)

dataset_bibentry: Get the bibliographic entries of a dataset

Description

A dataset constructed with dataset records most of the dataset-level metadata in a bibentry object. A dataset constructed with dataset records most of the dataset-level metadata in a bibentry object. This class is defined in the utils package, and it is installed by default with R; using the gives wide interoperability with other packages and allows printing or saving the bibliographic record in HTML, BibLatex and other formats. For further information see utils::bibentry.

Usage

dataset_bibentry(x)

Value

The bibentry object of the dataset.

Arguments

x

A dataset object created with dataset::dataset.

Examples

Run this code
ds <- dataset(iris,
        title = "The iris Dataset",
        author = c(
           person(family ="Anderson",
                  given ="Edgar",
                  role = "aut")
                 ),
         identifier = "https://doi.org/10.1111/j.1469-1809.1936.tb02137.x",
         year = "1935",
         version = "1.0",
         description = "The famous dataset that is distributed with R.",
         url = "https://en.wikipedia.org/wiki/Iris_flower_data_set",
         resourceType = "Dataset"
         )

dataset_bibentry(ds)

Run the code above in your browser using DataLab