expandar

R Package for Interactive Panel Data Exploration

https://github.com/trr266/ExPanDaR

Science Score: 13.0%

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

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (18.6%) to scientific vocabulary

Keywords

accounting eda exploratory-data-analysis finance open-science package r replication shiny shiny-apps
Last synced: 6 months ago · JSON representation

Repository

R Package for Interactive Panel Data Exploration

Basic Info
  • Host: GitHub
  • Owner: trr266
  • License: other
  • Language: R
  • Default Branch: master
  • Size: 52.6 MB
Statistics
  • Stars: 161
  • Watchers: 5
  • Forks: 46
  • Open Issues: 6
  • Releases: 7
Topics
accounting eda exploratory-data-analysis finance open-science package r replication shiny shiny-apps
Created about 8 years ago · Last pushed 11 months ago
Metadata Files
Readme Changelog License

README.Rmd

---
output: github_document
---

```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE, fig.align = "center", table.align = "center", warnings = FALSE)
library(ExPanDaR)
library(knitr)
```

# ExPanDaR: Explore Your Data Interactively 

[![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](http://www.repostatus.org/badges/latest/active.svg)](http://www.repostatus.org/#active)
[![Travis-CI Build Status](https://travis-ci.org/trr266/ExPanDaR.svg?branch=master)](https://travis-ci.org/trr266/ExPanDaR)
[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/ExPanDaR)](https://cran.r-project.org/package=ExPanDaR)
[![CRAN\_Download\_Badge](http://cranlogs.r-pkg.org/badges/grand-total/ExPanDaR)](https://cran.r-project.org/package=ExPanDaR)

## Overview

You are visiting the github repository of the ExPanDaR (Explore Panel Data with R) package. ExPanDaR provides the code base for the ExPanD web app. ExPanD is a shiny based app supporting interactive exploratory data analysis.

ExPanD has two purposes:

- Provide a toolbox for researchers to explore data on the fly, now also
allowing them to download R notebook code that reflects their analysis. 
- Enable users to assess the robustness of empirical evidence without providing them with access to the underlying data.

While I hope that ExPanD will be particularly helpful in the academic review, publication and replication process I also think that it is convenient for typical exploratory data analysis workflows. In addition, it has already proven to be helpful in the classroom.

This is what ExPanD looks like:

```{r, out.width = "90%", fig.align="center", fig.border = "none", echo=FALSE}
knitr::include_graphics("vignettes/figures/ExPanD_simple_03.jpg")
```

If you are interested to see what ExPanD has to offer without diving into R, click [here](https://jgassen.shinyapps.io/expand_wb/) to explore an instance of ExPanD that hosts World Bank data or click
[here](https://jgassen.shinyapps.io/expand_r3/) for a financial accounting and stock returns dataset of U.S. firms.

To see how ExPanD can be customized, take a look at [this blog post](https://joachim-gassen.github.io/2019/04/customize-your-interactive-eda-explore-the-fuel-economy-of-the-u.s.-car-market/) that generates [this display of the development of fuel economy in the U.S. car market](https://jgassen.shinyapps.io/expand_fuel_economy).

If you want to analyze your own data instead, you can also access a variant of ExPanD app [here](https://jgassen.shinyapps.io/expand/) that allows user-side data uploads. No worries: Your data won't be stored on the server and will get erased from memory as soon as you close the web connection. 


## Installation

If you are in for the full treat and want to test ExPanD from within R, run the following 
in your R session to install the ExPanDaR package from CRAN.

```{r, eval=FALSE}
install.packages("ExPanDaR")
library(ExPanDaR)
````

Or, if you want to install the current development version from Github:

```{r, eval=FALSE}
if (!require("devtools")) {
  install.packages("devtools")
}
devtools::install_github("trr266/ExPanDaR")
library(ExPanDaR)
````


## Basic Usage

You can either start ExPanD without arguments so that it starts with a file upload dialog...

```{r, eval=FALSE}
ExPanD()
```

...or use it to explore a cross-sectional data frame with at least two numeric
variables...

```{r, eval=FALSE}
ExPanD(mtcars)
````

...or start with one of the two example datasets that come with the package to
understand hot to use it on long-format panel data.

Please note: The last parameter (`export_nb_option`) allows the user to download
a notebook and the data to continue the analysis in R. Maybe not the best idea
if you are hosting your app publicly and want to keep its data private.

```{r, eval=FALSE}
ExPanD(df = worldbank,  
       df_def = worldbank_data_def, 
       var_def = worldbank_var_def,
       df_name = "World Bank Data",
       config_list = ExPanD_config_worldbank,
       export_nb_option = TRUE)

ExPanD(df = russell_3000,  
       df_def = russell_3000_data_def, 
       df_name = "Russell 3000",
       config_list = ExPanD_config_russell_3000,
       export_nb_option = TRUE)
````

Some additional information on how to use ExPanD can be found in the code file `ExPanDaR_examples.R` in the root directory.

## Use ExPanDaR functions in your own EDA workflow

Besides providing the ExPanD app, ExPanDaR comes with a set of functions that might be helpful in your own exploratory data analysis workflow, e.g., functions to quickly produce standard tables and plots. See [this vignette](https://trr266.github.io/ExPanDaR/articles/ExPanDaR-functions.html) for a quick walk-trough.


## Further Information

For further information, please refer to the articles and function call references of the package documentation, available 
[here](https://trr266.github.io/ExPanDaR) for the CRAN version and 
[here](https://trr266.github.io/ExPanDaR/dev) for the current development version.

Enjoy!

Owner

  • Name: TRR 266 Accounting for Transparency
  • Login: trr266
  • Kind: organization
  • Email: trr266@mail.uni-paderborn.de
  • Location: multiple locations

SFB/Transregio 266 "Accounting for Transparency"

GitHub Events

Total
  • Watch event: 3
  • Push event: 2
Last Year
  • Watch event: 3
  • Push event: 2

Packages

  • Total packages: 2
  • Total downloads: unknown
  • Total dependent packages: 0
    (may contain duplicates)
  • Total dependent repositories: 0
    (may contain duplicates)
  • Total versions: 14
proxy.golang.org: github.com/trr266/expandar
  • Versions: 7
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 5.4%
Average: 5.6%
Dependent repos count: 5.8%
Last synced: 6 months ago
proxy.golang.org: github.com/trr266/ExPanDaR
  • Versions: 7
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 5.4%
Average: 5.6%
Dependent repos count: 5.8%
Last synced: 6 months ago

Dependencies

DESCRIPTION cran
  • R >= 3.3.0 depends
  • DT * imports
  • corrplot * imports
  • dplyr * imports
  • ggplot2 * imports
  • kableExtra * imports
  • lfe * imports
  • lmtest * imports
  • multiwayvcov * imports
  • openssl * imports
  • rio * imports
  • rlang * imports
  • scales * imports
  • shiny * imports
  • shinycssloaders * imports
  • stargazer * imports
  • tictoc * imports
  • tidyr * imports
  • zip * imports
  • devtools * suggests
  • gapminder * suggests
  • htmltools * suggests
  • knitr * suggests
  • rmarkdown * suggests
  • wbstats * suggests