Automated Schema on Read

Provides schema-on-read tools including a single function call (e.g., schemaOnRead('filename')) that reads text ('TXT'), comma separated value ('CSV'), raster image ('BMP', 'PNG', 'GIF', 'TIFF', and 'JPG'), R data ('RDS'), HDF5 ('H5'), NetCDF ('CS'), spreadsheet ('XLS', 'XLSX', 'ODS', and 'DIF'), Weka Attribute-Relation File Format ('ARFF'), Epi Info ('REC'), SPSS ('SAV'), Systat ('SYS'), and Stata ('DTA') files. It also recursively reads folders (e.g., schemaOnRead('folder')), returning a nested list of the contained elements.


Provides schema-on-read tools including a single function call (e.g., schemaOnRead("filename")) that reads text ('TXT'), comma separated value ('CSV'), raster image ('BMP', 'PNG', 'GIF', 'TIFF', and 'JPG'), R data ('RDS'), HDF5 ('H5'), NetCDF ('CS'), spreadsheet ('XLS', 'XLSX', 'ODS', and 'DIF'), Weka Attribute-Relation File Format ('ARFF'), Epi Info ('REC'), SPSS ('SAV'), Systat ('SYS'), and Stata ('DTA') files. It also recursively reads folders (e.g., schemaOnRead("folder")), returning a nested list of the contained elements. Please see the manual and vignettes for more information.

News

SchemaOnRead v1.0.2 (Release date: 2015-12-23)

Changes:

  • The author gratefully acknowledges Hadley Wickham’s detailed and insightful suggestions for improvements to the code.
  • Refactored the code into separate source files.
  • Refactored file existence and extension checking into a single function call.
  • Updated the code to use quoted variable names instead of name modification.
  • Replaced the XML package with the xml2 package.
  • Replaced the XLConnect package with the readxl package.
  • Replaced the readstata13 package with the haven package.
  • Switched to using the haven package instead of foreign when possible.

SchemaOnRead v1.0.1 (Release date: 2015-11-03)

Changes:

  • Replaced NetCDF and HDF5 libraries to simplify dependencies.
  • Refactored file name formatting into a single function call.

SchemaOnRead v1.0.0 (Release date: 2015-10-24)

Initial release.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("SchemaOnRead")

1.0.2 by Michael North, a year ago


https://github.com/drmichaelnorth/SchemaOnRead


Browse source code at https://github.com/cran/SchemaOnRead


Authors: Michael North [aut, cre]


Documentation:   PDF Manual  


GPL-3 license


Imports caTools, foreign, ncdf4, network, readbitmap, readODS, tiff, xml2, haven, readxl

Suggests knitr, rmarkdown, testthat


See at CRAN