rprt_fulltable: Adds full table to report

View source: R/rprt_fulltable.R

rprt_fulltableR Documentation

Adds full table to report

Description

Adds full table to report

Usage

rprt_fulltable(dataset, level = "info", prefix = NULL, pretty_prop = TRUE,
  area_code_class = NULL, area_columns = c("reporter", "partner"))

Arguments

dataset

Data frame to report

level

Character of length one. Futile logger level to send messages to. By default "info".

prefix

Character of length one. Prefix for name to use in the report. NULL by default.

pretty_prop

Logical of length one. If TRUE all numeric columns with names end with "_prop" will be converted for easy reading with scales::percent.

area_code_class

Character "fao", "m49", "geonom" or NULL. If not NULL columns with area names will be added. NULL by default. See ?add_area_names for details.

area_columns

Character vector with names of columns containing area codes. By default c("reporter", "partner").


SWS-Methodology/faoswsTrade documentation built on Feb. 13, 2023, 1:04 a.m.