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

parquetr

The goal of parquetr is to let you read and write parquet files with R without a spark connection. At present it is simply a wrapper for pandas read_parquet and to_parquet via reticulate, but hopefully will improve and expand in the future.

Installation

You can install the development version of parquetr with devtools::install_github('alexpavlakis/parquetr')

Example

Parquetr makes it easy to read and write parquet files.

library(parquetr)

# Write iris as a parquet file
tf <- tempfile()
write_parquet(iris, tf)

# Read the parquet file back as a tibble
iris2 <- read_parquet(tf)
head(iris2)


alexpavlakis/parquetr documentation built on May 13, 2019, 11:24 a.m.