Package: dataset 0.4.5

Daniel Antal

dataset: Create Data Frames for Exchange and Reuse

The 'dataset' package extends tidy data frames with machine-readable metadata, semantic definitions, and provenance information. It supports incremental semantic stabilization, interoperable dataset exchange, and FAIR-oriented publication workflows by preserving contextual metadata directly within R objects. The package facilitates the creation, exchange, reuse, and RDF serialization of datasets in line with ISO and W3C standards.

Authors:Daniel Antal [aut, cre], Marcelo Perlin [rev], Anna Márta Mester [rev], Mauro Lepore [rev]

dataset_0.4.5.tar.gz
dataset_0.4.5.zip(r-4.7)dataset_0.4.5.zip(r-4.6)dataset_0.4.5.zip(r-4.5)
dataset_0.4.5.tgz(r-4.6-any)dataset_0.4.5.tgz(r-4.5-any)
dataset_0.4.5.tar.gz(r-4.7-any)dataset_0.4.5.tar.gz(r-4.6-any)
dataset_0.4.5.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
dataset/json (API)
NEWS

# Install 'dataset' in R:
install.packages('dataset', repos = c('https://ropensci.r-universe.dev', 'https://cloud.r-project.org'))

Reviews:rOpenSci Software Review #681

Bug tracker:https://github.com/ropensci/dataset/issues

Pkgdown/docs site:https://docs.ropensci.org

Datasets:

On CRAN:

Conda:

datasetmetadata-management

9.05 score 23 stars 1 packages 114 scripts 596 downloads 87 exports 35 dependencies

Last updated from:1dabc465ed (on main). Checks:10 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK155
pkgdown docsOK221
source / vignettesOK208
linux-release-x86_64OK153
macos-release-arm64OK100
macos-oldrel-arm64OK95
windows-develOK117
windows-releaseOK144
windows-oldrelOK90
wasm-releaseOK121

Exports:as_characteras_dataciteas_dataset_dfas_dublincoreas_factoras_logicalas_numericas_tibbleas_value_keyas.tibble.dataset_dfbibrecordbind_defined_rowscontributorcontributor<-creatorcreator<-datacitedataset_dfdataset_formatdataset_format<-dataset_titledataset_title<-dataset_to_triplesdefineddescribedescriptiondescription<-dublincoregeolocationgeolocation<-get_bibentryget_namespace_attributeget_unit_attributeget_variable_conceptsget_variable_namespacesget_variable_unitsid_to_columnidentifieridentifier<-invert_value_keyis_dataset_dfis.dataset_dfis.definedis.dublincoreis.prelabelledis.relatedlabel_attributelanguagelanguage<-n_triplen_triplesnamespace_attributenamespace_attribute<-prelabelprovenanceprovenance<-publication_yearpublication_year<-publisherpublisher<-related_createrelated_itemrelated_item<-relationrelation<-rightsrights<-set_bibentry<-set_namespace_attributeset_unit_attributestrip_definedsubjectsubject_createsubject<-unit_attributeunit_attribute<-var_conceptvar_concept<-var_labelvar_label<-var_labelsvar_labels<-var_namespacevar_namespace<-var_unitvar_unit<-xsd_convert

Dependencies:assertthatbitbit64clicliprcpp11crayondplyrforcatsgenericsgluehavenhmsISOcodeslabelledlifecyclemagrittrpillarpkgconfigprettyunitsprogresspurrrR6readrrlangstringistringrtibbletidyrtidyselecttzdbutf8vctrsvroomwithr

An Introduction to the dataset Package

Rendered fromintroduction.Rmdusingknitr::rmarkdownon Jun 03 2026.

Last update: 2026-06-03
Started: 2025-07-23

dataset_df: Create Datasets that are Easy to Share Exchange and Extend

Rendered fromdataset_df.Rmdusingknitr::rmarkdownon Jun 03 2026.

Last update: 2026-05-16
Started: 2024-12-16

defined: Semantically Enriched Vectors

Rendered fromdefined.Rmdusingknitr::rmarkdownon Jun 03 2026.

Last update: 2026-06-03
Started: 2024-12-16

Design Principles & Future Work Semantically Enriched, Standards-Aligned Datasets in R

Rendered fromdesign.Rmdusingknitr::rmarkdownon Jun 03 2026.

Last update: 2026-05-24
Started: 2025-08-05

Example Dataset Definitions

Rendered fromexample-dataset.Rmdusingknitr::rmarkdownon Jun 03 2026.

Last update: 2025-08-25
Started: 2025-08-23

From R to RDF

Rendered fromrdf.Rmdusingknitr::rmarkdownon Jun 03 2026.

Last update: 2025-08-25
Started: 2024-12-24

Handling Semantic Ambiguity with prelabelled Vectors

Rendered fromprelabelled.Rmdusingknitr::rmarkdownon Jun 03 2026.

Last update: 2026-06-03
Started: 2026-05-24

Modernising Citation Metadata in R: Introducing bibrecord

Rendered frombibrecord.Rmdusingknitr::rmarkdownon Jun 03 2026.

Last update: 2025-08-22
Started: 2025-05-22

Readme and manuals

Help Manual

Help pageTopics
Coerce a defined vector to characteras.character.haven_labelled_defined as_character as_character.haven_labelled_defined
Coerce prelabelled vectors to semantic character workspaceas_character.prelabelled
Create a Bibentry Object with DataCite Metadata Fieldsas_datacite datacite is.datacite is.datacite.datacite print.datacite
Add or Retrieve Dublin Core Metadataas_dublincore dublincore is.dublincore print.dublincore
Coerce a defined vector to a factoras_factor as_factor.haven_labelled_defined
Coerce a defined vector to logicalas_logical as_logical.haven_labelled_defined
Coerce a defined vector to numericas_numeric as_numeric.haven_labelled_defined
Coerce a 'dataset_df' to a tibbleas.tibble.dataset_df as_tibble as_tibble.dataset_df
Coerce semantic mappings to canonical key-value formas_value_key invert_value_key
Convert a 'dataset_df' to a base 'data.frame'as.data.frame.dataset_df
Coerce a defined Date vector to a base R Dateas.Date.haven_labelled_defined
Coerce a defined POSIXct vector to a base R POSIXctas.POSIXct.haven_labelled_defined
Create a Modern Metadata Object Compatible with bibentrybibrecord
Bind strictly defined rowsbind_defined_rows
Combine defined vectors with metadata checksc.haven_labelled_defined
Get or set contributorscontributor contributor<-
Get/set the Creator of the object.creator creator<-
Create a new 'dataset_df' objectas_dataset_df dataset_df is.dataset_df is_dataset_df names.dataset_df print.dataset_df
Get or set the technical format of a datasetdataset_format dataset_format<-
Get or Set the Title of a Datasetdataset_title dataset_title<-
Dataset to triples (three columns or N-Triples)dataset_to_triples
Create a semantically enriched vector with variable-level metadatadefined is.defined summary.haven_labelled_defined
Describe a dataset in N-Triples formatdescribe
Get or set the dataset Descriptiondescription description<-
A Small GDP Datasetgdp
Get or Set the Geolocation of a Dataset Objectgeolocation geolocation<-
Get or set the bibentryget_bibentry set_bibentry<-
Get concepts for all variables in a dataset_dfget_variable_concepts
Add Identifier to First Column of a Datasetid_to_column
Get or Set the Identifier of a Dataset or Metadata Recordidentifier identifier<-
Set the Primary Language of a Datasetlanguage language<-
Create an N-Triplen_triple
Create N-Triplesn_triples
Growth of Orange Treesorange_df
Add lightweight semantic mappings to a vectoris.prelabelled prelabel
Print a defined (haven_labelled_defined) vectorprint.haven_labelled_defined
Get or update provenance informationprovenance provenance<-
Get or Set the Publication Year of a Dataset Objectpublication_year publication_year<-
Get or Set the Publisher of a Dataset Objectpublisher publisher<-
Add or retrieve related items (DataCite/Dublin Core)is.related related_create related_item related_item<- relation relation<-
Get or Set the Rights of a Dataset Objectrights rights<-
Strip the class from a defined vectorstrip_defined
Create, add, or retrieve a subjectis.subject subject subject<- subject_create
Get / set a concept definition for a vector or a datasetvar_concept var_concept<- var_concept<-.default
Get or Set a Variable Labellabel_attribute var_label var_label.dataset_df var_label.defined var_label<- var_label<-.haven_labelled_defined
Get or set all variable labels on a datasetvar_labels var_labels<-
Get or Set the Namespace of a Variableget_namespace_attribute get_variable_namespaces namespace_attribute namespace_attribute<- set_namespace_attribute var_namespace var_namespace<-
Get or Set a Unit of Measureget_unit_attribute get_variable_units set_unit_attribute unit_attribute unit_attribute<- var_unit var_unit<- var_unit<-.default
Convert to XML Schema Definition (XSD) Typesxsd_convert xsd_convert.character xsd_convert.data.frame xsd_convert.dataset_df xsd_convert.Date xsd_convert.difftime xsd_convert.factor xsd_convert.haven_labelled_defined xsd_convert.integer xsd_convert.logical xsd_convert.numeric xsd_convert.POSIXct xsd_convert.tbl_df