Skip to content

Commit 509f04a

Browse files
committed
Removes duckdb function (see NEWS)
1 parent c19f463 commit 509f04a

File tree

10 files changed

+11
-332
lines changed

10 files changed

+11
-332
lines changed

DESCRIPTION

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: parquetize
22
Type: Package
33
Title: Convert Files to Parquet Format
4-
Version: 0.5.0
4+
Version: 0.5.1
55
Authors@R:
66
c(person(given = "Damien",
77
family = "Dotta",
@@ -10,7 +10,7 @@ Authors@R:
1010
Description: Collection of functions to get files in parquet format.
1111
Parquet is a columnar storage file format <https://parquet.apache.org/>.
1212
The files to convert can be of several formats
13-
("csv", "duckdb", "RData", "rds", "RSQLite",
13+
("csv", "RData", "rds", "RSQLite",
1414
"json", "ndjson", "SAS", "SPSS"...).
1515
License: Apache License (>= 2.0)
1616
Encoding: UTF-8
@@ -32,7 +32,6 @@ Imports:
3232
dplyr,
3333
jsonlite,
3434
DBI,
35-
duckdb,
3635
RSQLite,
3736
cli
3837
VignetteBuilder: knitr

NAMESPACE

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Generated by roxygen2: do not edit by hand
22

33
export(csv_to_parquet)
4-
export(duckdb_to_parquet)
54
export(json_to_parquet)
65
export(parquetize_example)
76
export(rbind_parquet)
@@ -22,8 +21,6 @@ importFrom(cli,cli_alert_success)
2221
importFrom(cli,cli_progress_bar)
2322
importFrom(cli,cli_progress_message)
2423
importFrom(curl,curl_download)
25-
importFrom(duckdb,duckdb)
26-
importFrom(duckdb,duckdb_shutdown)
2724
importFrom(haven,read_dta)
2825
importFrom(haven,read_sas)
2926
importFrom(haven,read_sav)

NEWS.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# parquetize 0.5.1
2+
3+
This release removes `duckdb_to_parquet()` function on the advice of Brian Ripley from CRAN.
4+
Indeed, the storage of DuckDB is not yet stable. The storage will be stabilized when version 1.0 releases.
5+
16
# parquetize 0.5.0
27

38
This release includes corrections for CRAN submission.

R/duckdb_to_parquet.R

Lines changed: 0 additions & 119 deletions
This file was deleted.

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ status](https://github.com/ddotta/parquetize/workflows/R-CMD-check/badge.svg)](h
1212
:package: Package `parquetize` <img src="man/figures/hex_parquetize.png" width=110 align="right"/>
1313
======================================
1414

15-
R package that allows to convert databases of different formats (csv, SAS, SPSS, Stata, rds, duckdb, sqlite, JSON, ndJSON) to [parquet](https://parquet.apache.org/) format in a same function.
15+
R package that allows to convert databases of different formats (csv, SAS, SPSS, Stata, rds, sqlite, JSON, ndJSON) to [parquet](https://parquet.apache.org/) format in a same function.
1616

1717
## Installation
1818

@@ -36,11 +36,11 @@ library(parquetize)
3636

3737
## Why this package ?
3838

39-
This package is a simple wrapper of some very useful functions from the [haven](https://github.com/tidyverse/haven), [readr](https://github.com/tidyverse/readr/), [jsonlite](https://github.com/jeroen/jsonlite), [RSQLite](https://github.com/r-dbi/RSQLite), [duckdb](https://github.com/cran/duckdb) and [arrow](https://github.com/apache/arrow) packages.
39+
This package is a simple wrapper of some very useful functions from the [haven](https://github.com/tidyverse/haven), [readr](https://github.com/tidyverse/readr/), [jsonlite](https://github.com/jeroen/jsonlite), [RSQLite](https://github.com/r-dbi/RSQLite) and [arrow](https://github.com/apache/arrow) packages.
4040

4141
While working, I realized that I was often repeating the same operation when working with parquet files :
4242

43-
- I import the file in R with {haven}, {jsonlite}, {readr}, {DBI}, {RSQLite} or {duckdb}.
43+
- I import the file in R with {haven}, {jsonlite}, {readr}, {DBI} or {RSQLite}.
4444
- And I export the file in parquet format
4545

4646
As a fervent of the DRY principle (don't repeat yourself) the exported functions of this package make my life easier and **execute these operations within the same function**.
@@ -55,16 +55,14 @@ As a fervent of the DRY principle (don't repeat yourself) the exported functions
5555
- [table_to_parquet()](https://ddotta.github.io/parquetize/reference/table_to_parquet.html)
5656
- **The other benefit of this function** is that it handles SAS, SPSS and Stata files in a same function. There is only one function to use for these 3 cases. To avoid overcharging R's RAM for huge table, the conversion can be done by chunk. For more information, see [here](https://ddotta.github.io/parquetize/articles/aa-conversions.html)
5757
- [sqlite_to_parquet()](https://ddotta.github.io/parquetize/reference/sqlite_to_parquet.html)
58-
- [duckdb_to_parquet()](https://ddotta.github.io/parquetize/reference/duckdb_to_parquet.html)
5958

6059

6160
For more details, see the documentation and examples :
6261
- [table_to_parquet()](https://ddotta.github.io/parquetize/reference/table_to_parquet.html#ref-examples).
6362
- [csv_to_parquet()](https://ddotta.github.io/parquetize/reference/csv_to_parquet.html#ref-examples).
6463
- [json_to_parquet()](https://ddotta.github.io/parquetize/reference/json_to_parquet.html#ref-examples).
6564
- [rds_to_parquet()](https://ddotta.github.io/parquetize/reference/rds_to_parquet.html#ref-examples).
66-
- [sqlite_to_parquet()](https://ddotta.github.io/parquetize/reference/sqlite_to_parquet.html#ref-examples)
67-
- [duckdb_to_parquet()](https://ddotta.github.io/parquetize/reference/duckdb_to_parquet.html#ref-examples).
65+
- [sqlite_to_parquet()](https://ddotta.github.io/parquetize/reference/sqlite_to_parquet.html#ref-examples).
6866

6967
## Example
7068

_pkgdown.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ reference:
1717
- rds_to_parquet
1818
- table_to_parquet
1919
- sqlite_to_parquet
20-
- duckdb_to_parquet
2120
- title: Other functions
2221
contents:
2322
- rbind_parquet

data-raw/iris-duckdb.R

Lines changed: 0 additions & 11 deletions
This file was deleted.

man/duckdb_to_parquet.Rd

Lines changed: 0 additions & 65 deletions
This file was deleted.

tests/testthat/_snaps/duckdb_to_parquet.md

Lines changed: 0 additions & 59 deletions
This file was deleted.

0 commit comments

Comments
 (0)