data.io-package: Read and Write Data in Different Formats

data.io-packageR Documentation

Read and Write Data in Different Formats

Description

The {data.io} package focuses on reading and writing datasets in different formats in an unified and convenient way. It can deal with labels and units metadata for variables, translation in different languages, and even use a sidecar file for preprocessing the dataset automatically. The same features are also available for a subset of datasets from R packages.

Important functions

  • read() is the main function to read data from R packages or files,

  • write() is the main function to write data to disk. It is compatible with base::write() but provides many more features if you indicate ⁠type=⁠ or use it like write$type().

  • labelise() adds a label, and possibly a units attributes to an object, to be used while pretty printing a table or plot.


SciViews/data.io documentation built on May 5, 2024, 1:39 p.m.