useAdjustments: Use specific adjustment factors for trade data.

View source: R/useAdjustments.R

useAdjustmentsR Documentation

Use specific adjustment factors for trade data.

Description

Use specific adjustment factors for trade data.

Usage

useAdjustments(tradedata = stop("\"tradedata\" is missing."),
  year = stop("\"year\" is missing."),
  adjustments = stop("\"adjustments\" is missing."), parallel = FALSE,
  dbg = faosws::CheckDebug(), PID = NA, verbose = TRUE)

Arguments

tradedata

Trade data.

year

Numeric.

adjustments

Adjustment factors.

parallel

Logical: FALSE (dafault), no multicore; TRUE, multicore.

dbg

Logical: see CheckDebug.

PID

Numeric: a process id (can also be a string). Used if verbose == TRUE.

verbose

Logical: TRUE (default), message shown; FALSE, no message.

Value

The same dataset after the application of adjustment factors.


SWS-Methodology/faoswsTrade documentation built on Feb. 24, 2025, 7:45 a.m.