Skip to content

Releases: etiennebacher/tidypolars

tidypolars 0.2.0

31 Oct 14:42
Compare
Choose a tag to compare

tidypolars requires polars >= 0.9.0.

New features

  • Rename pl_fetch() to fetch().

  • New functions supported: describe(), sink_csv(), slice_sample().

  • New argument fill in pl_complete().

  • Support stringr::str_to_title() and tools::toTitleCase().

  • Support stringr::fixed() to use literal strings.

  • Support replacements with captured groups like \\1 in stringr::str_replace()
    and stringr::str_replace_all().

Bug fixes

  • sink_parquet() didn't use the user inputs (apart from the path).

Misc

  • Clearer error message when an expression contains <pkg>::. This is not
    supported for now but could potentially be implemented later.

  • pl_colnames() is no longer exported.

tidypolars 0.1.0

05 Sep 06:30
Compare
Choose a tag to compare

New features

  • Support as.numeric(), as.character(), as.logical(), grepl(), and
    paste() in expressions in pl_filter(), pl_mutate() and pl_summarize().

  • Support sink_parquet() (#38).

  • Support fetch() (#42).

  • Support for additional stringr functions: str_detect(), str_extract_all(),
    str_pad(), str_squish(), str_trim(), word() (some arguments or corner
    cases are not supported yet).

  • Add all optimization parameters in collect().

Bug fixes

  • Fix pl_mutate() and pl_summarize() when expressions use some variables
    previously created or modified (#10, #37).

  • Fix bug in pl_filter() when passing a vector in the RHS of %in%.

Misc

  • Improve the backend to translate R expressions into Polars expressions. This
    also led to a complete rewriting of the vignette "R and Polars expressions"
    (#27).

  • Error messages should now report the correct function call.

  • Improve CI coverage (#35).

tidypolars 0.0.1

09 Aug 06:48
Compare
Choose a tag to compare

Initial release