Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jhnwllr/parqr


https://github.com/jhnwllr/parqr

Last synced: 10 days ago
JSON representation

Awesome Lists containing this project

README

        

---
output: github_document
---

```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```

# parqr

[![R-CMD-check](https://github.com/jhnwllr/parqr/workflows/R-CMD-check/badge.svg)](https://github.com/jhnwllr/parqr/actions)
[![codecov.io](https://codecov.io/github/jhnwllr/parqr/coverage.svg?branch=master)](https://codecov.io/github/jhnwllr/parqr?branch=master)

The goal of parqr is to read **multi-part** parquet files in R. Depends on the R package `arrow`.

If you only need to read in a single partitioned parquet file use `arrow::read_parquet`.

## Installation

You can install the released version of parqr from [CRAN](https://CRAN.R-project.org) with:

``` r
install.packages("parqr")
```

And the development version from [GitHub](https://github.com/) with:

``` r
# install.packages("devtools")
devtools::install_github("jhnwllr/parqr")
```
## Example

```{r example}
library(parqr)

path_to_parquet = "file.parquet"
parquet_readr(path_to_parquet) # will return data.frame
```

## arrow

The installation requires the Arrow library which should be installed
with the `R` package `arrow` dependency. However, some systems may need
to follow additional steps to enable full support of that library.
Please refer to the `arrow`
[documentation](https://CRAN.R-project.org/package=arrow/vignettes/install.html).