saros1.2.0 package

Semi-Automatic Reporting of Ordinary Surveys

embed_cat_prop_plot

Embed Interactive Categorical Plot (DEPRECATED!)

embed_cat_table

Embed Reactable Table (DEPRECATED!)

embed_chr_table_html

Interactive table of text data (DEPRECATED)

fig_height_h_barchart

Estimate figure height for a horizontal bar chart

fig_height_h_barchart2

Estimate figure height for a horizontal bar chart

get_colour_palette

Provide A Colour Set for A Number of Requested Colours

get_colour_set

Provide A Colour Set for A Number of Requested Colours

get_data_label_opts

Get Valid Data Labels for Figures and Tables

get_makeme_types

Get all registered options for the type-argument in the makeme-funct...

get_raw_labels

Helper function to extract raw variable labels from the data

ggsaver

Wrapper Function for ggplot2::ggsave()

global_settings_get

Get Global Options for saros-functions

global_settings_reset

Reset Global Options for saros-functions

global_settings_set

Get Global Options for saros-functions

hex_bw

Identify Suitable Font Given Background Hex Colour

is_colour

Are All Colours in Vector Valid Colours

is_string

Is x A String?

make_content

Method for Creating Saros Contents

make_link

Save data to a file and return a Markdown link

makeme

Embed Interactive Plot of Various Kinds Using Tidyselect Syntax

n_range

Provides a range (or single value) for N in data, given dep and indep

n_range2

Provides a range (or single value) for N in a ggplot2-object from `m...

n_rng

Obtain range of N for a given data set and other settings.

n_rng2

Obtain range of N for a given ggobj.

reorder_within

Code-snippets copied and modified from tidytext-package [https://githu...

saros-package

saros: Semi-Automatic Reporting of Ordinary Surveys

subset_vector

Given Ordered Integer Vector, Return Requested Set.

summarize_cat_cat_data

Summarize a survey dataset for use in tables and graphs

Offers a systematic way for conditional reporting of figures and tables for many (and bivariate combinations of) variables, typically from survey data. Contains interactive 'ggiraph'-based (<https://CRAN.R-project.org/package=ggiraph>) plotting functions and data frame-based summary tables (bivariate significance tests, frequencies/proportions, unique open ended responses, etc) with many arguments for customization, and extensions possible. Uses a global options() system for neatly reducing redundant code. Also contains tools for immediate saving of objects and returning a hashed link to the object, useful for creating download links to high resolution images upon rendering in 'Quarto'. Suitable for highly customized reports, primarily intended for survey research.

  • Maintainer: Stephan Daus
  • License: MIT + file LICENSE
  • Last published: 2024-09-03