loading...
  • .DollarNames() implemented for read() and write() function, so that there is a completion list of the acceptable types.

  • as_dataframe.dataframe() and as_dataframe.list(), argument validate= is replaced by .name.repair= according to changes made in {tibble} 3.0 where the validate= argument is defunct now.

  • {palmerpenguins} penguins and penguins_raw data sets included (en and fr versions). The code of read() had to be patched because data(penguins) loads both penguins and penguins_raw, but data(penguins_raw) produces an error (sic!)

  • The {datasets} ChickWeight, failthful, ToothGrowth are now translated (en and fr versions).

  • The data sets Penicillin and sleepstudy from {lme4} are now translated (en and fr versions).

  • The data sets babynames, applicants, births, and lifetables from {babynames} are now translated (en and fr versions).

  • There was a conflict in attributing units with the {units} package. So, when this package was loaded, units(x) <- value when x is numeric became a unitsobject treated by {units}. We don’t want this, so, the previous code is replaced by attr(x, "units") <- value to avoid this clash.
  • 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) with read().

  • The dataframe object class is deprecated. Consequently, read() does not output dataframe objects any more and as_dataframe() or is_dataframe() and similar functions are also deprecated. The as_dataframe= argument of read() is also deprecated now.

  • There is now a list completion for read$<tab> and write$<tab>.

  • The read() function can now download a file directly for all types (previously, only for functions that accepted it internally, like readr::read_csv() but not for readxl::read_xls() for instance). The cache_file= argument allows to define a file to cache this download. If the file exists, the data are not redownloaded again, except if force = TRUE.

  • Example using .csv.tar and .csv.tar.gz are eliminated because more recent readr::read_csv() function does not seem to handle Tar archives anymore (observed with {readr} version 2.1.2).
  • as.dataframe(table_object) was broken with ‘tibble’ 3.0.0. Now we use a different code to convert table objects into tibble/dataframe.

  • Rework of sources and ‘pkgdown’ web site added.

  • A new argument data= synonym to file= is added. It makes more sense for datasets loaded from packages.

  • First argument of write() is now named data= for coherence.

  • For the mauna_loa dataset, calls to tidyr::gather() (deprecated) are replaced by tidyr::pivot_longer().

  • The example iris_sidecar.csv.R wrongly referred to data::read() instead of data.io::read().
  • The French translation for the trees dataset had no as_labelled() argument.
  • It is now possible to specify the default language to use for read() with the option data.io-lang.

  • lang and lang_encoding are now recorded as attributes of the comment of the imported object.

  • A basic version of write() is now available.

  • data_types() function added to easily get information about data types that can be used with read() or write().

  • Description added into read_write options.

  • Bug corrected: forgot to change data -> data.io in read_write options.

First version of the package on Github.