Skip to contents

Returns what a Croissant document says about its dataset: name, description, versions, license, citation, creators, publishers, dates, URL, keywords, and languages. Text in several languages gives its first value.

Usage

about(x, ...)

Arguments

x

Croissant object.

...

Not used.

Value

Named list of the values the document sets, in this order: name, description, dataset_version, croissant_version, license (strings, and the names or URLs of CreativeWork licenses), cite_as, creator and publisher (names of persons and organizations), date_created, date_modified, date_published, url, keywords, and in_language. Each value is character.

Author

EDG

Examples

x <- Croissant(
  name = "Titanic",
  description = "Passengers of the Titanic.",
  license = "https://creativecommons.org/licenses/by/4.0/",
  creator = list(Organization(name = "OpenML")),
  keywords = c("survival", "tabular")
)
about(x)
#> $name
#> [1] "Titanic"
#> 
#> $description
#> [1] "Passengers of the Titanic."
#> 
#> $croissant_version
#> [1] "1.1"
#> 
#> $license
#> [1] "https://creativecommons.org/licenses/by/4.0/"
#> 
#> $creator
#> [1] "OpenML"
#> 
#> $keywords
#> [1] "survival" "tabular" 
#> 
about(x)[["license"]]
#> [1] "https://creativecommons.org/licenses/by/4.0/"