🐟 A Swiss-Army Knife for Data I/O
Full Changelog: https://github.com/gesistsa/rio/compare/v1.0.0...v1.0.1
.check_pkg_availability
fix #296 by @chainsawriot in https://github.com/gesistsa/rio/pull/324
Package Philosphy
a vignette ref #320 by @chainsawriot in https://github.com/gesistsa/rio/pull/342
format
in internal data by @chainsawriot in https://github.com/gesistsa/rio/pull/352
ext
in internal data ref #313 by @chainsawriot in https://github.com/gesistsa/rio/pull/353
openxlsx
and use writexl
instead, fix #310 by @chainsawriot in https://github.com/gesistsa/rio/pull/359
.docall
by @chainsawriot in https://github.com/gesistsa/rio/pull/374
Full Changelog: https://github.com/gesistsa/rio/compare/v0.5.30...v1.0.0
A maintenance release; now available on CRAN.
.sas7bdat
as deprecatedThis release contains no substantive code changes. It merely fixes some bugs in tests running on CRAN.
This is a patch release with mostly some critical bug fixes and a few minor changes in behavior for a few import and export methods.
get_ext()
function. (#169)import_list()
gains improved file name handling. (#164, h/t Ruaridh Williamson)overwrite
argument from export()
method for xlsx files. Instead, existing workbooks are always overwritten unless which is specified, in which case only the specified sheet (if it exists) is overwritten. If the file exists but the which
sheet does not, the data are added as a new sheet to the existing workbook. (#156)data.table::fread()
with a message. Export to the format remains unsupported. (#98, #155)haven::write_xpt()
). (#157)haven::read_xpt()
with a haven = FALSE
toggle restoring the previous default behavior using foreign::read.xpt()
. (#157)export()
to fixed-width format.import()
from compressed files wherein the which
argument did not necessarily return the correct file if >=2 files in the compressed folder.export()
to xlsx workbooks when which
is specified. (#156)This is a maintenance release that provides provisional release of a few bits of new functionality.
characterize()
and factorize()
provide methods for converting "labelled" variables (e.g., from Stata or SPSS) into character or factor variables using embedded metadata. This can also be useful for exporting a metadata-rich file format into a plain text file. (#153)export()
now sets variables with a "labels" attribute to haven's "labelled" class.spread_attrs()
that reverses the gather_attrs()
operation.bib2df::bib2df()
.import_list()
and added tests for behavior..import.rio_xlsx()
when readxl = FALSE
. (#152, h/t Danny Parsons)This release adds new functionality, including an import_list()
function to retrieve multiple files from a directory or multiple data frames from a multi-object file (e.g., HTML page, .Rdata file, zip directory, etc.). export()
to Excel (.xlsx) and HTML also supports multi-object writing via export()
.
The release also streamlines the set of default packages, so that the package has fewer Imports
dependencies, installs faster, and loads faster. install_formats()
will install all Suggests
packages to enable full file format support.
import_list()
returns a list of data frames from a multi-object Excel Workbook, .Rdata file, zip directory, or HTML file. (#126, #129)import_list()
now returns a NULL
entry for any failed imports, with a warning. (#149)import_list()
gains additional arguments rbind_fill
and rbind_label
to control rbind-ing behavior. (#149)rbind
argument to import_list()
. (#149)setclass
argument to import_list()
, ala the same in import()
.export()
can now write a list of data frames to an Excel (.xlsx) workbook. (#142, h/t Jeremy Johnson)export()
can now write a list of data frames to an HTML (.html) file.clipr::read_clip()
and clipr::write_clip()
, respectively, thus (finally) providing Linux support. (#105, h/t Matthew Lincoln)fwrite()
is now the default for text-based file formats.<tbody>
elements. (h/t Mohamed Elgoussi)readODS::write_ods()
. (#96)read_delim()
.export(format = "fwf")
now depends on options("verbose")
.>= 0.1.1
(#130, h/t Yongfa Chen)excel_format
arguments when using readxl functions. (#130).import.rio_xls()
and .import.rio_xlsx()
where the sheet
argument would return an error.fread = FALSE
. (#133, h/t Christopher Gandrud).import.rio_xls()
wherein the which
argument was ignored. (h/t Mohamed Elgoussi)set_class()
. (#144)This is a maintenance release primarily intended to continue support for SPSS, Stata, and SAS files after the update of haven to v1.0.0. The issues addressed since last release are:
which
argument. (#126)import()
and export()
with respect to unrecognized file types. (#124, #125, h/t Jason Becker).import()
and .export()
.This is a patch release that contains a few small fixes:
This is a maintenance release with a few small bug fixes and the removal of support for importing SPSS portable files.
sep
argument for import of delimited files to allow override of defaults. (#99, h/t Danny Parsons)