Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jhnwllr/parqr
https://github.com/jhnwllr/parqr
Last synced: 10 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/jhnwllr/parqr
- Owner: jhnwllr
- License: cc0-1.0
- Created: 2020-10-27T10:29:35.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-01-26T14:46:21.000Z (almost 3 years ago)
- Last Synced: 2024-11-28T19:51:24.396Z (14 days ago)
- Language: R
- Size: 36.1 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.Rmd
- License: LICENSE.md
Awesome Lists containing this project
- jimsghstars - jhnwllr/parqr - (R)
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).