Package: tidypolars 0.12.0
tidypolars: Get the Power of Polars with the Syntax of the Tidyverse
Polars is an amazing cross-language tool for manipulating very large data. However, one drawback is that the R implementation has a syntax that will look odd to many R users who are not used to Python syntax. The objective of tidypolars is to improve the ease-of-use of Polars in R by providing tidyverse syntax to polars.
Authors:
tidypolars_0.12.0.tar.gz
tidypolars_0.12.0.zip(r-4.5)tidypolars_0.12.0.zip(r-4.4)tidypolars_0.12.0.zip(r-4.3)
tidypolars_0.12.0.tgz(r-4.4-any)tidypolars_0.12.0.tgz(r-4.3-any)
tidypolars_0.12.0.tar.gz(r-4.5-noble)tidypolars_0.12.0.tar.gz(r-4.4-noble)
tidypolars_0.12.0.tgz(r-4.4-emscripten)tidypolars_0.12.0.tgz(r-4.3-emscripten)
tidypolars.pdf |tidypolars.html✨
tidypolars/json (API)
NEWS
# Install 'tidypolars' in R: |
install.packages('tidypolars', repos = c('https://etiennebacher.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/etiennebacher/tidypolars/issues
Pkgdown site:https://tidypolars.etiennebacher.com
Last updated 1 months agofrom:4508d4d256 (on v0.12.0). Checks:OK: 1 NOTE: 6. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Dec 19 2024 |
R-4.5-win | NOTE | Dec 19 2024 |
R-4.5-linux | NOTE | Dec 19 2024 |
R-4.4-win | NOTE | Dec 19 2024 |
R-4.4-mac | NOTE | Dec 19 2024 |
R-4.3-win | NOTE | Dec 19 2024 |
R-4.3-mac | NOTE | Dec 19 2024 |
Exports:as_polars_dfas_polars_lfbind_cols_polarsbind_rows_polarsdescribedescribe_optimized_plandescribe_planduplicated_rowsfetchmake_unique_idread_csv_polarsread_ipc_polarsread_ndjson_polarsread_parquet_polarsscan_csv_polarsscan_ipc_polarsscan_ndjson_polarsscan_parquet_polarssink_csvsink_ipcsink_ndjsonsink_parquetwrite_csv_polarswrite_ipc_polarswrite_json_polarswrite_ndjson_polarswrite_parquet_polars
Dependencies:clicodetoolscpp11dplyrfansigenericsgluelifecyclemagrittrpillarpkgconfigpolarspurrrR6rlangstringistringrtibbletidyrtidyselectutf8vctrswithr
FAQ
Rendered fromfaq.Rmd
usingknitr::rmarkdown
on Dec 19 2024.Last update: 2024-08-16
Started: 2023-07-06
Getting started
Rendered fromtidypolars.Rmd
usingknitr::rmarkdown
on Dec 19 2024.Last update: 2024-10-30
Started: 2023-07-10
R and Polars expressions
Rendered fromr-and-polars-expressions.Rmd
usingknitr::rmarkdown
on Dec 19 2024.Last update: 2024-11-15
Started: 2023-08-11
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Order rows using column values | arrange.RPolarsDataFrame |
Convert a Polars DataFrame to an R data.frame or to a tibble | as_tibble.tidypolars |
Append multiple Data/LazyFrames next to each other | bind_cols_polars |
Stack multiple Data/LazyFrames on top of each other | bind_rows_polars |
Complete a data frame with missing combinations of data | complete.RPolarsDataFrame complete.RPolarsLazyFrame |
Collect a LazyFrame | collect.RPolarsLazyFrame compute.RPolarsLazyFrame |
Count the observations in each group | add_count.RPolarsDataFrame add_count.RPolarsLazyFrame count.RPolarsDataFrame count.RPolarsLazyFrame |
Cross join | cross_join.RPolarsDataFrame cross_join.RPolarsLazyFrame |
Summary statistics for a Polars DataFrame | describe |
Show the optimized and non-optimized query plans | describe_optimized_plan describe_plan |
Remove or keep only duplicated rows in a Data/LazyFrame | distinct.RPolarsDataFrame distinct.RPolarsLazyFrame duplicated_rows |
Drop missing values | drop_na.RPolarsDataFrame drop_na.RPolarsLazyFrame |
Show the optimized and non-optimized query plans | explain.RPolarsLazyFrame |
Fetch 'n' rows of a LazyFrame | fetch |
Fill in missing values with previous or next value | fill.RPolarsDataFrame |
Keep rows that match a condition | filter.RPolarsDataFrame filter.RPolarsLazyFrame |
Import data from CSV file(s) | from_csv read_csv_polars scan_csv_polars |
Import data from IPC file(s) | from_ipc read_ipc_polars scan_ipc_polars |
Import data from NDJSON file(s) | from_ndjson read_ndjson_polars scan_ndjson_polars |
Import data from Parquet file(s) | from_parquet read_parquet_polars scan_parquet_polars |
Group by one or more variables | group_by.RPolarsDataFrame group_by.RPolarsLazyFrame ungroup.RPolarsDataFrame ungroup.RPolarsLazyFrame |
Grouping metadata | group_split.RPolarsDataFrame |
Grouping metadata | group_keys.RPolarsDataFrame group_keys.RPolarsLazyFrame group_vars.RPolarsDataFrame group_vars.RPolarsLazyFrame |
Mutating joins | full_join.RPolarsDataFrame full_join.RPolarsLazyFrame inner_join.RPolarsDataFrame inner_join.RPolarsLazyFrame left_join.RPolarsDataFrame left_join.RPolarsLazyFrame right_join.RPolarsDataFrame right_join.RPolarsLazyFrame |
Create a column with unique id per row values | make_unique_id |
Create, modify, and delete columns | mutate.RPolarsDataFrame mutate.RPolarsLazyFrame |
Pivot a Data/LazyFrame from wide to long | pivot_longer.RPolarsDataFrame pivot_longer.RPolarsLazyFrame |
Pivot a DataFrame from long to wide | pivot_wider.RPolarsDataFrame |
Extract a variable of a Data/LazyFrame | pull.RPolarsDataFrame pull.RPolarsLazyFrame |
Change column order | relocate.RPolarsDataFrame relocate.RPolarsLazyFrame |
Rename columns | rename.RPolarsDataFrame rename.RPolarsLazyFrame rename_with.RPolarsDataFrame rename_with.RPolarsLazyFrame |
Replace NAs with specified values | replace_na.RPolarsDataFrame replace_na.RPolarsLazyFrame |
Group input by rows | rowwise.RPolarsDataFrame rowwise.RPolarsLazyFrame |
Select columns from a Data/LazyFrame | select.RPolarsDataFrame select.RPolarsLazyFrame |
Filtering joins | anti_join.RPolarsDataFrame anti_join.RPolarsLazyFrame semi_join.RPolarsDataFrame semi_join.RPolarsLazyFrame |
Separate a character column into multiple columns based on a substring | separate.RPolarsDataFrame separate.RPolarsLazyFrame |
Stream output to a CSV file | sink_csv |
Stream output to an IPC file | sink_ipc |
Stream output to a NDJSON file | sink_ndjson |
Stream output to a parquet file | sink_parquet |
Subset rows of a Data/LazyFrame | slice_head.RPolarsDataFrame slice_head.RPolarsLazyFrame slice_sample.RPolarsDataFrame slice_tail.RPolarsDataFrame slice_tail.RPolarsLazyFrame |
Summarize each group down to one row | summarise.RPolarsDataFrame summarise.RPolarsLazyFrame summarize.RPolarsDataFrame summarize.RPolarsLazyFrame |
Summary statistics for a Polars DataFrame | summary.RPolarsDataFrame |
'tidypolars' global options | tidypolars-options |
Uncount a Data/LazyFrame | uncount.RPolarsDataFrame uncount.RPolarsLazyFrame |
Unite multiple columns into one by pasting strings together | unite.RPolarsDataFrame unite.RPolarsLazyFrame |
Export data to CSV file(s) | write_csv_polars |
Export data to IPC file(s) | write_ipc_polars |
Export data to JSON file(s) | write_json_polars |
Export data to NDJSON file(s) | write_ndjson_polars |
Export data to Parquet file(s) | write_parquet_polars |