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:
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
Last updated from:1dabc465ed (on main). Checks:10 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 155 | ||
| pkgdown docs | OK | 221 | ||
| source / vignettes | OK | 208 | ||
| linux-release-x86_64 | OK | 153 | ||
| macos-release-arm64 | OK | 100 | ||
| macos-oldrel-arm64 | OK | 95 | ||
| windows-devel | OK | 117 | ||
| windows-release | OK | 144 | ||
| windows-oldrel | OK | 90 | ||
| wasm-release | OK | 121 |
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 page | Topics |
|---|---|
| Coerce a defined vector to character | as.character.haven_labelled_defined as_character as_character.haven_labelled_defined |
| Coerce prelabelled vectors to semantic character workspace | as_character.prelabelled |
| Create a Bibentry Object with DataCite Metadata Fields | as_datacite datacite is.datacite is.datacite.datacite print.datacite |
| Add or Retrieve Dublin Core Metadata | as_dublincore dublincore is.dublincore print.dublincore |
| Coerce a defined vector to a factor | as_factor as_factor.haven_labelled_defined |
| Coerce a defined vector to logical | as_logical as_logical.haven_labelled_defined |
| Coerce a defined vector to numeric | as_numeric as_numeric.haven_labelled_defined |
| Coerce a 'dataset_df' to a tibble | as.tibble.dataset_df as_tibble as_tibble.dataset_df |
| Coerce semantic mappings to canonical key-value form | as_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 Date | as.Date.haven_labelled_defined |
| Coerce a defined POSIXct vector to a base R POSIXct | as.POSIXct.haven_labelled_defined |
| Create a Modern Metadata Object Compatible with bibentry | bibrecord |
| Bind strictly defined rows | bind_defined_rows |
| Combine defined vectors with metadata checks | c.haven_labelled_defined |
| Get or set contributors | contributor contributor<- |
| Get/set the Creator of the object. | creator creator<- |
| Create a new 'dataset_df' object | as_dataset_df dataset_df is.dataset_df is_dataset_df names.dataset_df print.dataset_df |
| Get or set the technical format of a dataset | dataset_format dataset_format<- |
| Get or Set the Title of a Dataset | dataset_title dataset_title<- |
| Dataset to triples (three columns or N-Triples) | dataset_to_triples |
| Create a semantically enriched vector with variable-level metadata | defined is.defined summary.haven_labelled_defined |
| Describe a dataset in N-Triples format | describe |
| Get or set the dataset Description | description description<- |
| A Small GDP Dataset | gdp |
| Get or Set the Geolocation of a Dataset Object | geolocation geolocation<- |
| Get or set the bibentry | get_bibentry set_bibentry<- |
| Get concepts for all variables in a dataset_df | get_variable_concepts |
| Add Identifier to First Column of a Dataset | id_to_column |
| Get or Set the Identifier of a Dataset or Metadata Record | identifier identifier<- |
| Set the Primary Language of a Dataset | language language<- |
| Create an N-Triple | n_triple |
| Create N-Triples | n_triples |
| Growth of Orange Trees | orange_df |
| Add lightweight semantic mappings to a vector | is.prelabelled prelabel |
| Print a defined (haven_labelled_defined) vector | print.haven_labelled_defined |
| Get or update provenance information | provenance provenance<- |
| Get or Set the Publication Year of a Dataset Object | publication_year publication_year<- |
| Get or Set the Publisher of a Dataset Object | publisher 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 Object | rights rights<- |
| Strip the class from a defined vector | strip_defined |
| Create, add, or retrieve a subject | is.subject subject subject<- subject_create |
| Get / set a concept definition for a vector or a dataset | var_concept var_concept<- var_concept<-.default |
| Get or Set a Variable Label | label_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 dataset | var_labels var_labels<- |
| Get or Set the Namespace of a Variable | get_namespace_attribute get_variable_namespaces namespace_attribute namespace_attribute<- set_namespace_attribute var_namespace var_namespace<- |
| Get or Set a Unit of Measure | get_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) Types | xsd_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 |