explore
Simplifies Exploratory Data Analysis
Interactive data exploration with one line of code, automated reporting or use an easy to remember set of tidy functions for low code exploratory data analysis.
README
# explore <img src="man/figures/logo.png" align="right" width="130" height="150"/>
<!-- badges: start -->
[](https://github.com/rolkra/explore/actions/workflows/R-CMD-check.yaml)
[](https://CRAN.r-project.org/package=explore)
[](https://CRAN.r-project.org/package=explore)
[](https://r-pkg.org/pkg/explore)
<!-- badges: end -->
Simplifies Exploratory Data Analysis:
- **Interactive data exploration**: `explore()`
- Use **AI** to unveil hidden patterns in your data (xgboost, RF, logreg, DT): `explain_*()`
- Generate an **automated report** of your data (or patterns in your data): `report()`
- **Manual exploration**: `explore()`, `describe()`, `explain_*()`, `abtest()`, ...
- 18 ready to use **datasets for teaching & testing**: `use_data_*()`, `create_data_*()`
``` r
# install from CRAN
install.packages("explore")
```
## Examples
``` r
# interactive data exploration
library(explore)
beer <- use_data_beer()
beer |> explore()
```
<img src="man/figures/explore-beer-target.png" alt="explore variable + target" width="600"/>
<img src="man/figures/explore-beer-tree.png" alt="explore target using a decisoion tree" width="600"/>
``` r
# describe data
beer |> describe()
```
```
# A tibble: 11 × 8
variable type na na_pct unique min mean max
<chr> <chr> <int> <dbl> <int> <dbl> <dbl> <dbl>
1 name chr 0 0 161 NA NA NA
2 brand chr 0 0 29 NA NA NA
3 country chr 0 0 3 NA NA NA
4 year dbl 0 0 1 2023 2023 2023
5 type chr 0 0 3 NA NA NA
6 color_dark dbl 0 0 2 0 0.09 1
7 alcohol_vol_pct dbl 2 1.2 35 0 4.32 8.4
8 original_wort dbl 5 3.1 54 5.1 11.3 18.3
9 energy_kcal_100ml dbl 11 6.8 34 20 39.9 62
10 carb_g_100ml dbl 16 9.9 44 1.5 3.53 6.7
11 sugar_g_100ml dbl 16 9.9 26 0 0.72 4.6
```
``` r
# explore data manually
beer |> explore(type)
beer |> explore(energy_kcal_100ml)
beer |> explore(energy_kcal_100ml, target = type)
beer |> explore(alcohol_vol_pct, energy_kcal_100ml, target = type)
```
<img src="man/figures/explore-beer-plots.png" alt="explore data manual" width="600"/>
``` r
# explore manually with color and interactive
beer |>
explore(sugar_g_100ml, color = "gold") |>
interact()
```
<img src="man/figures/explore-beer-interact.png" alt="explore with color and interactive" width="400"/>
## Get started
* [Get started with {explore}](https://rolkra.github.io/explore/articles/explore.html)
* [Explore penguins (tidy-data)](https://rolkra.github.io/explore/articles/explore_penguins.html)
* [Explore titanic (count-data)](https://rolkra.github.io/explore/articles/explore_titanic.html)
* [Explain a target using machine learning](https://rolkra.github.io/explore/articles/explain.html)
* [Generate a report of all variables in the data](https://rolkra.github.io/explore/articles/report.html)
* [Generate a report of all patterns in the data](https://rolkra.github.io/explore/articles/report-target.html)
* [Datasets in {explore}](https://rolkra.github.io/explore/articles/data.html)
* [A/B testing](https://rolkra.github.io/explore/articles/abtest.html)
* and more ...
Versions across snapshots
| Version | Repository | File | Size |
|---|---|---|---|
1.4.0 |
rolling linux/jammy R-4.5 | explore_1.4.0.tar.gz |
2.5 MiB |
1.4.0 |
rolling linux/noble R-4.5 | explore_1.4.0.tar.gz |
2.5 MiB |
1.4.0 |
rolling source/ R- | explore_1.4.0.tar.gz |
2.5 MiB |
1.4.0 |
latest linux/jammy R-4.5 | explore_1.4.0.tar.gz |
2.5 MiB |
1.4.0 |
latest linux/noble R-4.5 | explore_1.4.0.tar.gz |
2.5 MiB |
1.4.0 |
latest source/ R- | explore_1.4.0.tar.gz |
2.5 MiB |
1.4.0 |
2026-04-26 source/ R- | explore_1.4.0.tar.gz |
2.5 MiB |
1.4.0 |
2026-04-23 source/ R- | explore_1.4.0.tar.gz |
2.5 MiB |
1.3.4 |
2025-04-20 source/ R- | explore_1.3.4.tar.gz |
2.5 MiB |