Skip to content

Commit

Permalink
version 0.1.0 (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
eitsupi authored Jan 20, 2023
2 parents 1c5ba87 + 8e753e4 commit f11991d
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 7 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Description:
Provides a function to convert 'PRQL' strings to 'SQL' strings.
Combined with other R functions that take 'SQL' as an argument,
'PRQL' can be used on R.
Version: 0.0.4.9001
Version: 0.1.0.9000
Authors@R:
person("Tatsuya", "Shima", email = "ts1s1andn@gmail.com", role = c("aut", "cre"))
URL: https://eitsupi.github.io/prqlr/, https://github.com/eitsupi/prqlr
Expand Down
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# prqlr (development version)

# prqlr 0.1.0

## Breaking changes

- Based on [`prql-compiler`](https://github.com/prql/prql) v0.4.1
Expand Down
8 changes: 7 additions & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,16 @@ powered by [the `extendr` framework](https://extendr.github.io/).

Requires R 4.2.0 or later.

This package can be installed from [R-universe](https://eitsupi.r-universe.dev/ui#package:prqlr).
This package can be installed from CRAN or [R-universe](https://eitsupi.r-universe.dev/ui#package:prqlr).
If available, a binary package will be installed.

```r
# Install from CRAN
install.packages("prqlr")
```

```r
# Install from R-universe
install.packages("prqlr", repos = "https://eitsupi.r-universe.dev")
```

Expand Down
14 changes: 10 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,17 @@ framework](https://extendr.github.io/).

Requires R 4.2.0 or later.

This package can be installed from
This package can be installed from CRAN or
[R-universe](https://eitsupi.r-universe.dev/ui#package:prqlr). If
available, a binary package will be installed.

``` r
# Install from CRAN
install.packages("prqlr")
```

``` r
# Install from R-universe
install.packages("prqlr", repos = "https://eitsupi.r-universe.dev")
```

Expand All @@ -45,7 +51,7 @@ library(prqlr)
#> WHERE
#> cyl > 6
#>
#> -- Generated by PRQL compiler version 0.4.1 (https://prql-lang.org)
#> -- Generated by PRQL compiler version 0.4.0 (https://prql-lang.org)
```

PRQL’s pipelines can be joined by the newline character (`\n`), or
Expand All @@ -63,7 +69,7 @@ actual newlines in addition to `|`.
#> WHERE
#> cyl > 6
#>
#> -- Generated by PRQL compiler version 0.4.1 (https://prql-lang.org)
#> -- Generated by PRQL compiler version 0.4.0 (https://prql-lang.org)
```

``` r
Expand All @@ -80,7 +86,7 @@ select [cyl, mpg]" |>
#> WHERE
#> cyl > 6
#>
#> -- Generated by PRQL compiler version 0.4.1 (https://prql-lang.org)
#> -- Generated by PRQL compiler version 0.4.0 (https://prql-lang.org)
```

Thanks to the `{tidyquery}` package, we can even convert a PRQL query to
Expand Down
2 changes: 1 addition & 1 deletion vignettes/prqlr.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ derive [mpg_int = round 0 mpg]
cat()
```

This outputed SQL query string can be used with already existing great packages that manipulate data with SQL.
This outputted SQL query string can be used with already existing great packages that manipulate data with SQL.

## Work with DB

Expand Down

0 comments on commit f11991d

Please sign in to comment.