Skip to content

Abstract R representation for expressions and relations

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

duckdblabs/relational

Repository files navigation

relational

The goal of relational is to represent expressions and provide a set of generics for transformations of tables (relations).

Installation

You can install the development version of relational like so:

devtools::install_github("duckdblabs/relational")

Example

Expressions

library(relational)

expr_function(
  "+", 
  list(
    expr_reference("column"),
    expr_constant(42, alias = "fortytwo")
  )
)
#> list(
#>   name = "+",
#>   args = list(
#>     list(name = "column", alias = NULL) |>
#>       structure(class = c("relational_expr_reference", "relational_expr")),
#>     list(val = 42, alias = "fortytwo") |>
#>       structure(class = c("relational_expr_constant", "relational_expr"))
#>   ),
#>   alias = NULL
#> ) |>
#>   structure(class = c("relational_expr_function", "relational_expr"))

Code of Conduct

Please note that the relational project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.

About

Abstract R representation for expressions and relations

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published