Learn R Programming

hypoparsr

hypoparsr takes a different approach to CSV parsing by creating different parsing hypotheses for a given file and ranking them based on data quality features.

Installation

  • the latest released version from CRAN with

    install.packages("hypoparsr")
  • the latest development version from github with

    devtools::install_github("tdoehmen/hypoparsr")

If you encounter a bug, please file a minimal reproducible example on github.

Usage

# generate a CSV
csv <- tempfile()
write.csv(iris, csv, row.names=FALSE)

# call hypoparsr
res <- hypoparsr::parse_file(csv)

# show result overview
print(res)

# get result data frames
best_guess <- as.data.frame(res)
second_best_guess <- as.data.frame(res, rank=2)

Copy Link

Version

Install

install.packages('hypoparsr')

Monthly Downloads

9

Version

0.1.0

License

MPL (== 2.0)

Last Published

September 6th, 2016

Functions in hypoparsr (0.1.0)

parse_file

Multi-hypothesis parsing of CSV files.