Changelog
Source:NEWS.md
data.io 1.5.0
.DollarNames()
implemented forread()
andwrite()
function, so that there is a completion list of the acceptable types.as_dataframe.dataframe()
andas_dataframe.list()
, argumentvalidate=
is replaced by.name.repair=
according to changes made in {tibble} 3.0 where thevalidate=
argument is defunct now.{palmerpenguins}
penguins
andpenguins_raw
data sets included (en and fr versions). The code ofread()
had to be patched becausedata(penguins)
loads bothpenguins
andpenguins_raw
, butdata(penguins_raw)
produces an error (sic!)The {datasets}
ChickWeight
,failthful
,ToothGrowth
are now translated (en and fr versions).The data sets
Penicillin
andsleepstudy
from {lme4} are now translated (en and fr versions).The data sets
babynames
,applicants
,births
, andlifetables
from {babynames} are now translated (en and fr versions).
data.io 1.4.1
- There was a conflict in attributing units with the {units} package. So, when this package was loaded,
units(x) <- value
whenx
is numeric became aunits
object treated by {units}. We don’t want this, so, the previous code is replaced byattr(x, "units") <- value
to avoid this clash.
data.io 1.4.0
Dependency to {svBase} added. Now the
default_dtx()
function is used to output a data frame object in the user-preferred class (data.frame, data.table or tibble tbl_df) withread()
.The dataframe object class is deprecated. Consequently,
read()
does not output dataframe objects any more andas_dataframe()
oris_dataframe()
and similar functions are also deprecated. Theas_dataframe=
argument ofread()
is also deprecated now.There is now a list completion for
read$<tab>
andwrite$<tab>
.The
read()
function can now download a file directly for all types (previously, only for functions that accepted it internally, likereadr::read_csv()
but not forreadxl::read_xls()
for instance). Thecache_file=
argument allows to define a file to cache this download. If the file exists, the data are not redownloaded again, except ifforce = TRUE
.
data.io 1.3.1
- Example using
.csv.tar
and.csv.tar.gz
are eliminated because more recentreadr::read_csv()
function does not seem to handle Tar archives anymore (observed with {readr} version 2.1.2).
data.io 1.3.0
as.dataframe(table_object)
was broken with ‘tibble’ 3.0.0. Now we use a different code to converttable
objects intotibble
/dataframe
.Rework of sources and ‘pkgdown’ web site added.
A new argument
data=
synonym tofile=
is added. It makes more sense for datasets loaded from packages.First argument of
write()
is now nameddata=
for coherence.For the
mauna_loa
dataset, calls totidyr::gather()
(deprecated) are replaced bytidyr::pivot_longer()
.
data.io 1.2.2
- The example
iris_sidecar.csv.R
wrongly referred todata::read()
instead ofdata.io::read()
.
data.io 1.2.0
It is now possible to specify the default language to use for
read()
with the optiondata.io-lang
.lang
andlang_encoding
are now recorded as attributes of the comment of the imported object.
data.io 1.1.0
A basic version of
write()
is now available.data_types()
function added to easily get information about data types that can be used withread()
orwrite()
.Description added into
read_write
options.