Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: visdat
Title: Preliminary Visualisation of Data
Version: 0.6.0.9000
Version: 0.6.1
Authors@R: c(
person(
given = "Nicholas",
Expand Down
6 changes: 3 additions & 3 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# visdat 0.6.1 (2026/08/10) "Don't I Hold You, Wheat"
# visdat 0.6.1 (2026/08/12) "Don't I Hold You, Wheat"

## New features

Expand All @@ -10,8 +10,8 @@

## Misc

* Remove magrittr; Use `|>` internally over `%>%`
* Depend on R 4.2.0
* Remove magrittr; Use `|>` internally over `%>%` (#176)
* Depend on R 4.2.0 (#176)

# visdat 0.6.0 (2023/02/01) "Superman, Lazlo Bane"

Expand Down
14 changes: 13 additions & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ you visualise a dataframe and "get a look at the data" by displaying the
variable classes in a dataframe as a plot with `vis_dat`, and getting a brief
look into missing data patterns using `vis_miss`.

`visdat` has 6 functions:
`visdat` has 7 functions:

- `vis_dat()` visualises a dataframe showing you what the classes of the columns
are, and also displaying the missing data.
Expand All @@ -69,6 +69,7 @@ Unfortunately `missing.pattern.plot` is no longer in the `mi` package (as of
- `vis_guess()` visualise the individual class of each value in your data
- `vis_value()` visualise the value class of each cell in your data
- `vis_binary()` visualise the occurrence of binary values in your data
- `vis_histogram()` visualises a histogram of each numeric variable in your data

You can read more about visdat in the vignette, ["using visdat"]https://docs.ropensci.org/visdat/articles/using_visdat.html).

Expand Down Expand Up @@ -314,6 +315,17 @@ vis_dat(messy_df)
So here we see that there are many different kinds of data in your dataframe. As
an analyst this might be a depressing finding. We can see this comparison above.


## `vis_histogram()`

`vis_histogram()` visualises the distribution of every numeric column in a
dataframe and displays it using a faceted ggplot object.

```{r vis-histogram}
vis_histogram(airquality, bins = 30)
```


# Thank yous

Thank you to Ivan Hanigan who [first
Expand Down
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ by displaying the variable classes in a dataframe as a plot with
`vis_dat`, and getting a brief look into missing data patterns using
`vis_miss`.

`visdat` has 6 functions:
`visdat` has 7 functions:

- `vis_dat()` visualises a dataframe showing you what the classes of the
columns are, and also displaying the missing data.
Expand All @@ -70,6 +70,9 @@ by displaying the variable classes in a dataframe as a plot with

- `vis_binary()` visualise the occurrence of binary values in your data

- `vis_histogram()` visualises a histogram of each numeric variable in
your data

You can read more about visdat in the vignette, \[“using
visdat”\]<https://docs.ropensci.org/visdat/articles/using_visdat.html>).

Expand Down Expand Up @@ -348,6 +351,17 @@ So here we see that there are many different kinds of data in your
dataframe. As an analyst this might be a depressing finding. We can see
this comparison above.

## `vis_histogram()`

`vis_histogram()` visualises the distribution of every numeric column in
a dataframe and displays it using a faceted ggplot object.

``` r
vis_histogram(airquality, bins = 30)
```

![](man/figures/README-vis-histogram-1.png)<!-- -->

# Thank yous

Thank you to Ivan Hanigan who [first
Expand Down
5 changes: 5 additions & 0 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ reference:
Potentially reveal hidden patterns by seeing scaled values
contents:
- vis_value
- title: "Display the distribution of numeric variables"
desc: >
Quickly explore distributions, creating a histogram for each variable
contents:
- vis_histogram
- title: "Example data provided with visdat"
desc: >
Data is provided for exploring different functions in visdat
Expand Down
4 changes: 2 additions & 2 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Test environments
* local OS X install, R 4.2.2
* local OS X install, R 4.6.1
* github actions testing for devel, release, and ubuntu, windows, and macOSX
* win-builder (devel and release)

Expand All @@ -10,7 +10,7 @@ There were no ERRORs or WARNINGs or NOTEs

## revdepcheck results

We checked 3 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package.
We checked 6 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package.

* We saw 0 new problems
* We failed to check 0 packages
Binary file modified man/figures/README-iris-error-fix-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-vis-bin-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-vis-compare-iris-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-vis-cor-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-vis-dat-aq-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-vis-dat-month-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-vis-expect-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-vis-guess-messy-df-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-vis-guess-messy-df-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added man/figures/README-vis-histogram-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-vis-miss-aq-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-vis-miss-aq-cluster-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-vis-miss-aq-sort-miss-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-vis-miss-mtcars-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-vis-miss-test-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-vis-value-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
31 changes: 15 additions & 16 deletions revdep/README.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,25 @@
# Platform

|field |value |
|:--------|:-------------------------------------------------------------------------------------------|
|version |R version 4.2.2 (2022-10-31) |
|os |macOS Monterey 12.3.1 |
|system |aarch64, darwin20 |
|ui |RStudio |
|language |(EN) |
|collate |en_US.UTF-8 |
|ctype |en_US.UTF-8 |
|tz |Australia/Hobart |
|date |2023-02-01 |
|rstudio |2022.12.0+353 Elsbeth Geranium (desktop) |
|pandoc |2.19.2 @ /Applications/RStudio.app/Contents/Resources/app/quarto/bin/tools/ (via rmarkdown) |
|field |value |
|:--------|:-----------------------------------------|
|version |R version 4.6.1 (2026-06-24) |
|os |macOS Tahoe 26.5.2 |
|system |aarch64, darwin23 |
|ui |RStudio |
|language |(EN) |
|collate |en_US.UTF-8 |
|ctype |en_US.UTF-8 |
|tz |Australia/Hobart |
|date |2026-08-12 |
|rstudio |2026.07.1+147 Pacific Dogwood (desktop) |
|pandoc |3.10 @ /opt/homebrew/bin/ (via rmarkdown) |
|quarto |1.9.36 @ /usr/local/bin/quarto |

# Dependencies

|package |old |new |Δ |
|:-------|:-----|:-----|:--|
|visdat |0.5.3 |0.6.0 |* |
|forcats |NA |1.0.0 |* |
|utf8 |NA |1.2.3 |* |
|visdat |0.6.0 |0.6.1 |* |

# Revdeps

2 changes: 1 addition & 1 deletion revdep/cran.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## revdepcheck results

We checked 3 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package.
We checked 6 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package.

* We saw 0 new problems
* We failed to check 0 packages
Expand Down
9 changes: 9 additions & 0 deletions vignettes/using_visdat.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,15 @@ Here, you might just assume your data is weird because it's all factors - or wor

At the moment `vis_guess` is very slow. Please take this into consideration when you are using it on data with more than 1000 rows. We're looking into ways of making it faster, potentially using methods from the `parallel` package, or extending the c++ code from `readr:::collectorGuess`.

## `vis_histogram()`

`vis_histogram()` visualises the distribution of every numeric column in a
dataframe and displays it using a faceted ggplot object.

```{r vis-histogram}
vis_histogram(airquality, bins = 30)
```

# Interactivity

You can make the plots in visdat by wrapping them in `plotly::ggplotly`:
Expand Down
Loading