Automated Schema on Read
Overview
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.
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.
From NEWS.md in the release
Install
Health
CRAN check results are not tracked yet.
Documentation
- Help pages
- 4
- Examples that run
- 100%4 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 0%
- Help pages citing references
- 0%
Downloads
Dependencies
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.0.0 released · 2020-04-24
- archivedRemoved from CRAN2020-01-14maintainer's address bounced
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
- 1.0.22015-12-24 · diff ↗ ·
removed 2 exports
schemaOnReadDefaultProcessors, schemaOnReadSimpleProcessorsadded 3 exports
defaultProcessors, simpleProcessors, checkExtensions - 1.0.12015-11-04 · diff ↗
- 1.0.02015-10-24
- RR 3.2.0 released · 2015-04-16
Package metadata
- First published
- 2015-10-24
- Total releases
- 3 / 11 yrs
- License
- GPL-3 OSI
- Copyright
- Argonne National Laboratory
- Minimum R
- ≥ 3.2.1
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("SchemaOnRead")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-26, which the citation names so these numbers can be found later. More on citing and the projects behind them.