Releases: ropensci/visdat
visdat 0.6.0 (2023/02/01) "Superman, Lazlo Bane"
New Feature
vis_value()
for visualising all values in a dataset. It rescales values to be between 0 and 1. See #100vis_binary()
for visualising datasets with binary values - similar tovis_value()
, but just for binary data (0, 1, NA). See #125. Thank you to Trish Gilholm for her suggested use case for this.- Implemented facetting in
vis_dat()
andvis_cor()
, andvis_miss()
see (#78). The next release will implement facetting forvis_value()
,vis_binary()
,vis_compare()
,vis_expect()
, andvis_guess()
. - Implemented data methods for plots with
data_vis_dat()
,data_vis_cor()
, anddata_vis_miss()
see (#78). vis_dat()
vis_miss()
andvis_guess()
now render missing values in list-columns (@cregouby #138)- Added
abbreviate_vars()
function to assist with abbreviating data names (#140) - Percentage missing in columns for
vis_miss()
is now rounding to integers - for more accurate representation of missingness summaries please use thenaniar
R package. - A new vignette on customising colour palettes in visdat, "Customising colour palettes in visdat".
Bug Fix
- no longer use old version of
gather_
(#141) - resolve bug where
vis_value()
displayed constant values as NA values (#128) - these constant values are now shown as 1. - removed use of the now deprecated "aes_string" from ggplot2
- output of plot in
vis_expect
would reorder columns (#133), fixed in #143 by @muschellij2.
Misc
- No longer uses gdtools for testing (#145)
- Use
cli
internally for error messages. - Speed up some internal functions in visdat
The Legend of LoFi
Minor Change
- Update
vis_cor()
to use perceptually uniform colours fromscico
package, usingscico::scico(3, palette = "vik")
. - Update
vis_cor()
to have fixed legend values from -1 to +1 (#110) using optionsbreaks
andlimits
. Special thanks to this SO thread for the answer - Uses
glue
andglue_collapse()
instead ofpaste
andpaste0
- adds WORDLIST for spelling thanks to
usethis::use_spell_check()
visdat 0.5.2 (2018/12/06) "Youth, The Midnight, Kids"
Minor Change
Bug Fix
- Jim Hester fixed recent changes in readr 1.2.0 in PR #103, which changes the default behavior of the
guess_parser
, to not
guess integer types by default. To opt-into the current behavior you
need to passguess_integer = TRUE.
The Northern Lights Moonwalker
New Features
vis_compare()
for comparing two dataframes of the same dimensionsvis_expect()
for visualising where certain values of expectations occur in the data- Added NA colours to
vis_expect
- Added
show_perc
arg tovis_expect
to show the percentage of expectations that are TRUE. #73
- Added NA colours to
vis_cor
to visualise correlations in a dataframevis_guess()
for displaying the likely type for each cell in a dataframe- Added draft
vis_expect
to make it easy to look at certain appearances of numbers in your data. - visdat is now under the rOpenSci github repository
Minor Changes
- added CITATION for visdat to cite the JOSS article
- updated options for
vis_cor
to use argumentna_action
notuse_op
. - cleaned up the organisation of the files and internal functions
- Added appropriate legend and x axis for
vis_miss_ly
- thanks to Stuart Lee - Updated the
paper.md
for JOSS - Updated some old links in doco
- Added Sean Hughes and Mara Averick to the DESCRIPTION with
ctb
. - Minor changes to the paper for JOSS
Bug Fixes
-
Fix bug reported in #75
wherevis_dat(diamonds)
erroredseq_len(nrow(x))
inside internal
functionvis_gather_
, used to calculate the row numbers. Using
mutate(rows = dplyr::row_number())
solved the issue. -
Fix bug reported in #72
wherevis_miss
errored when one column was given to it. This was an issue
with usinglimits
insidescale_x_discrete
- which is used to order the
columns of the data. It is not necessary to order one column of data, so I
created an if-else to avoid this step and return the plot early. -
Fix visdat x axis alignment when show_perc_col = FALSE - #82
-
fix visdat x axis alignment - issue 57
-
fix bug where the column percentage missing would print to be NA when it was exactly equal to 0.1% missing. - issue 62
-
vis_cor
didn't gather variables for plotting appropriately - now fixed
JOSS (accepted)
An updated release with an updated abstract summary for visdat suitable for publication in JOSS