ezpickr

Choosing Any Rectangular Data File Using Interactive GUI Dialog Box, and Seamlessly Manipulating Tidy Data between an Excel Window and R Session

https://github.com/jooyoungseo/ezpickr

Science Score: 10.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    1 of 2 committers (50.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (16.1%) to scientific vocabulary

Keywords

beginner choose convenient cran data easy excel gui htm mbox picker r rda rdata rectangular rectangular-data rmd-files spss tibble tsv
Last synced: 6 months ago · JSON representation

Repository

Choosing Any Rectangular Data File Using Interactive GUI Dialog Box, and Seamlessly Manipulating Tidy Data between an Excel Window and R Session

Basic Info
Statistics
  • Stars: 6
  • Watchers: 1
  • Forks: 2
  • Open Issues: 0
  • Releases: 0
Topics
beginner choose convenient cran data easy excel gui htm mbox picker r rda rdata rectangular rectangular-data rmd-files spss tibble tsv
Created over 7 years ago · Last pushed over 3 years ago
Metadata Files
Readme

README.Rmd

---
output:
  bookdown::github_document2:
    html_preview: false
---

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

# ezpickr: Convenient Package for Choosing Any Rectangular Data File Using Interactive GUI Dialog Box, and Seamlessly Manipulating Tidy Data between an Excel Window and R Session

[![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](http://www.gnu.org/licenses/gpl-3.0)
[![CRAN status](https://www.r-pkg.org/badges/version/ezpickr)](https://cran.r-project.org/package=ezpickr)
[![Total Downloads](https://cranlogs.r-pkg.org/badges/grand-total/ezpickr?color=orange)](https://cranlogs.r-pkg.org/badges/grand-total/ezpickr)
[![Lifecycle: stable](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://www.tidyverse.org/lifecycle/#stable)
[![Travis build status](https://travis-ci.org/jooyoungseo/ezpickr.svg?branch=master)](https://travis-ci.org/jooyoungseo/ezpickr)
[![AppVeyor build status](https://ci.appveyor.com/api/projects/status/github/jooyoungseo/ezpickr?branch=master&svg=true)](https://ci.appveyor.com/project/jooyoungseo/ezpickr)
[![Codecov test coverage](https://codecov.io/gh/jooyoungseo/ezpickr/branch/master/graph/badge.svg)](https://codecov.io/gh/jooyoungseo/ezpickr?branch=master)
      
The goal of ezpickr is to provide R beginners with a convenient way to pick up their data files in a tidy tibble form into an R environment using GUI file-picker dialogue box (`ezpickr::pick()`), and to open and manipulate their data objects using Excel application for a seamless data communication between an Excel and R session (`ezpickr::viewxl()`).

You can alternatively use `ezpickr::pick()` function for choosing *.csv, *.csv2, *.tsv, *.txt, *.xls, *.xlsx, *.json, *.html, *.htm, *.php, *.pdf, *.doc, *.docx, *.rtf, *.RData, *.Rda, *.RDS, *.sav (SPSS), *.por, *.sas7bdat, *.sas7bcat, *.dta, *.xpt, *.mbox, and *.Rmd files in an interactive GUI mode A file choose dialog box will be prompted.

Any additional arguments available for each file type and extension: `vroom::vroom()` for 'CSV' (Comma-Separated Values); 'CSV2' (Semicolon-Separated Values); 'TSV' (Tab-Separated Values)'txt' (plain text) files; `readxl::read_excel()` for 'Excel' files; `haven::read_spss()` for 'SPSS' files; `haven::read_stata()` for 'Stata' files; `haven::read_sas()` for 'SAS' files; `textreadr::read_document()` for 'Microsoft Word', 'PDF', 'RTF', 'HTML', 'HTM', and 'PHP' files; `jsonlite::fromJSON()` for 'JSON' files; `mboxr::read_mbox()` for 'mbox' files; `rmarkdown::render()` for 'Rmd' files; `base::source()` for 'R' files; `base::readRDS()` for 'RDS' files; `base::load()` for 'RDA' and 'RDATA' files.

Each corresponding function depending upon a file extension will be automatically matched and applied once you pick up your file using either the GUI-file-chooser dialog box or explicit path/to/filename.

## Installation

### Development Version

You can install the latest development version as follows:

```{r, eval=F}
if(!require(remotes)) {
install.packages("remotes")
}

remotes::install_github('jooyoungseo/ezpickr')
```

### Stable Version

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

```{r, eval=F}
install.packages("ezpickr")
```

## Example

### Usage of the `pick()` Function

This is a basic example which shows you how to import data files:

```{r example1, eval=F}
library(ezpickr)

# Choosing file and saving it into a variable
## Scenario 1: Picking up a file using interactive GUI dialog box:
data <- pick() ## Please use `picko()` instead if your path/file contains any Korean characters.

## Scenario 2: Picking up a file using an explicit file name ("test.sav" in the example below; however, you can feed other files through this function such as *.SAS, *.DTA, *.csv, *.csv2, *.tsv, *.xlsx, *.txt, *.html, webpage URL, *.json, *.Rda, *.Rdata, and more):
data <- pick("test.sav") ## Please use `picko("test.sav")` instead if your path/file contains any Korean characters.

# Now you can use the imported file as a tibble data frame.
str(data)
```

### Usage of the `viewxl()` Function

You can open any data.frame, tibble, matrix, table or vector from an R session into your default-set spreadsheet application window as follows:

```{r example2, eval=F}
library(ezpickr)

data(airquality)
str(airquality)

# Use `viewxl()` function to open your data object in your spreadsheet:
viewxl(airquality)

# Then, when necessary, you can modify the opened data in the spreadsheet and save it as a new data.

# You can pass a list object to the `viewxl()` function like below:
l <- list(iris = iris, mtcars = mtcars, chickwts = chickwts, quakes = quakes)
viewxl(l)
# Then, each list item will appear in your Excel window sheet by sheet.
```

Owner

  • Name: JooYoung Seo
  • Login: jooyoungseo
  • Kind: user
  • Location: Champaign, IL
  • Company: University of Illinois at Urbana-Champaign

Assistant Professor in the School of Information Sciences at the University of Illinois at Urbana-Champaign

GitHub Events

Total
Last Year

Committers

Last synced: almost 3 years ago

All Time
  • Total Commits: 92
  • Total Committers: 2
  • Avg Commits per committer: 46.0
  • Development Distribution Score (DDS): 0.033
Top Committers
Name Email Commits
JooYoung Seo s****y@g****m 89
JooYoung Seo j****5@i****u 3
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 2
  • Total pull requests: 0
  • Average time to close issues: about 17 hours
  • Average time to close pull requests: N/A
  • Total issue authors: 2
  • Total pull request authors: 0
  • Average comments per issue: 1.5
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • HaydarJawad (1)
  • sfd99 (1)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads: unknown
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 13
cran.r-project.org: ezpickr

Easy Data Import Using GUI File Picker

  • Versions: 13
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Forks count: 21.9%
Stargazers count: 22.5%
Average: 27.4%
Dependent packages count: 29.8%
Dependent repos count: 35.5%
Last synced: 10 months ago

Dependencies

DESCRIPTION cran
  • haven * imports
  • jsonlite * imports
  • magrittr * imports
  • mboxr * imports
  • purrr * imports
  • readxl * imports
  • rmarkdown * imports
  • stringr * imports
  • textreadr * imports
  • tibble * imports
  • tidyr * imports
  • utils * imports
  • vroom * imports
  • writexl * imports
  • antiword * suggests
  • covr * suggests
  • dplyr * suggests
  • knitr * suggests
  • rvest * suggests
  • striprtf * suggests
  • testthat * suggests
  • xml2 * suggests