- inlined previously external data so as not to break on CRAN with unreliable OSF
- new
exclude_from_detailed_displayparameter forcodebook()lets you skip detailed graphs and summaries for selected variables while keeping them in the metadata table and JSON-LD (closes #53) - PDF/LaTeX output support: JSON-LD metadata is automatically disabled for PDF (uses HTML script tags), and the metadata table falls back from DT to
knitr::kable()(closes #78) - horizontal scrolling (
scrollX) for the DT metadata table (closes #58) - replaced deprecated
ggplot2::qplot()withggplot2::ggplot() - updated label browser to use
DT::DTOutput()/DT::renderDT()instead of deprecated shiny equivalents - bumped minimum versions for DT (>= 0.33) and shiny (>= 1.8.1)
recursive_escape()no longer drops names from character vectors (closes #62)- nested list metadata (e.g.
creator,distribution) is now displayed correctly in the data info section instead of erroring (closes #59 and #60)
- Language en_GB -> en-GB
- default to psych for reliability because rosetta/ufs is hard to install
- no longer depends on archived package userfriendlyscience
- can now export PDF/XLSX from static label browser
- compatibility with glue 1.8.0
- fixed issues with number of digits in DT, labelled_spss, anonymous multiline aggregation functions
- clean unloading/reset chunk labels (bug was probably only noticeable when embedding multiple codebooks in one page)
- Moved a lot of dependencies to Suggests to make package leaner
- Removed functions related to scaleDiagnosis, which are now implemented in
ufs - Updated citation to published paper
- compatibility with skimr 2.1.0
- compatibility with vctrs 0.3.0
- compatibility with dplyr 1.0.0
- several small issues closed
- compatibility with skimr 2.0.0
- compatibility with forcats 0.4.0
- When errors occurred in the reliability computation, codebook would fail hard. It now fails with a warning and continues.
- When variables of the same name existed in two datasets described in the same document, figures were overwritten. This is no longer the case, paths are dataset-name-prefixed now. Datasets are made "safe" for paths.
- removed three vignettes
- calculate reliability using
userfriendlyscienceinstead of Cronbach's Alpha and correlations - make it easier to generate compact codebooks
- hide machine-readable metadata in details tags (toggle to view)
- plot number of characters for character variables
- update explanations in web app slightly
- reduce survey-specific language
- make it less likely that unique/private values are disclosed (e.g., free text)
- changed vignette titles (one was duplicated)
- import/export knit_print generic from knitr
- Function
new_codebook_rmdcreates a new file in your working directory with a codebook template. - Function
metadatacan be used to set dataset-level metadata before rendering a codebook (valid attributes will carry over to JSON-LD representation) - Compliance with Google Dataset Search, see examples
- removed
zap_labelbecause haven 2.0.0 has this function - added several functions to add JSON-LD compliant metadata and to show it in the codebook
- removed some non-standard attributes from the JSON-LD metadata so that datasets will be indexed in Google Dataset Search
- work with haven 2.0.0's changed class names
- play nice with
userfriendlyscience::makeScalesattributes - improved binning and wrapping in
plot_labelled - removed the mice dependency to reduce the number of dependencies
detect_missingreset variable label with the new haven version (only between 0.6.3.9000 and 0.7.0, never on CRAN)reverse_labelled_valuesmislabelled values, if there were labelled missing values (numbers were correct)
- Vignettes for
- documenting the expected attribute structure, how to add metadata in R
- importing metadata from SPSS or Stata files
- importing metadata from Qualtrics as made available by
qualtRicspackage
- Importing some functions from labelled package to add metadata
- Default method for haven::as_factor when labelled class is absent
- Changed the scale summary, so that Likert plots and distributions are shown on the first tab. Reliability now hidden under "Reliability details".
- removed unnecessary
readrdependency.
- summarising factors in a table
- turning off components of the codebook without empty strings being echoed
- allow using variable and value labels in the absence of the labelled class (as imported by rio for example)
- Three RStudio Addin Shinyapps to browse variable labels and codebook.
- Specify a mice dependency that doesn't break degenerate test cases.
- plot_labelled now makes better plots for numeric variables
- codebook generation has been parallelised using the future package. By calling
e.g.
plan(multicore(workers = 4))before the codebook function, the computation of reliabilities and the generation of scale and item summaries will happen in parallel. For this to work with plots, you have to choose a graphics device in knitr that supports parallelisation, by calling e.g.opts_chunk$set(dev = "CairoPNG"). - for variables that store multiple multiple choice values comma-separated,
we now separate the values before plotting, if that item attribute
attributes(item)$item$typecontains "multiple" - make it easier to trace which variable in a dataset cannot be summarised
- added and document
aggregate_and_document_scalefor people who don't import data via formr.org and want reliabilities to be calculated automatically - use
rioto import all kinds of file formats in the webapp
- fix bugs in plot_labelled
- fix bugs when variables are entirely missings
- escape HTML in various labels, use safe names for anchors, figures
- reliability functions no longer garble names
- require skimr >= 1.0.2 and ggplot2 >= 2.0.0
- don't write files into anything but tempdir
- changed description and documentation
- changed license to MIT
- improved documentation
- more tests
- wrote some tests
- tried to please goodpractice::gp()
- removed some cruft