Skip to contents

CRAN status CRAN downloads

Overview

csstyle is a comprehensive styling system for consistent visual outputs using CSIDS guidelines. It provides ggplot2 themes, color palettes, and dual formatting functions to standardize graphs, tables, and reports.

Key Features:

  • ggplot2 themes with CSIDS styling and configurable options
  • Color palettes with hierarchical system (primary, warning, posneg)
  • Dual formatting system:
    • Norwegian formatting for domestic reports (comma decimal, space thousands, “IK” for missing)
    • Journal formatting for academic publications (decimal point, comma thousands, “NA” for missing)
  • Number formatting for percentages, per-100k rates, and log transformations
  • Date formatting with Norwegian conventions vs ISO 8601 standards

The package focuses on consistency over flexibility to ensure reproducible, professional outputs across different research contexts.

Run help(package="csstyle") for more information.

csverse

The csverse is a set of R packages developed to help solve problems that frequently occur when performing disease surveillance.

install.packages("attrib")
install.packages("cs9")
install.packages("csalert")
install.packages("csdata")
install.packages("csdb")
install.packages("csmaps")
install.packages("csstyle")
install.packages("cstidy")
install.packages("cstime")
install.packages("csutil")
install.packages("org")
install.packages("plnr")