mirrorRules | R Documentation |
Use mirror rules for balancing trade.
mirrorRules(data = NA, variable = "qty", suffix = "_m", flag = "flag_qty", group_rank = "accu_group", flow = "flow", main_flow = 1, discrepancy = "discrep_mirr", official_flags = c("X-", "-", "-h"))
data |
Trade data. |
variable |
Variable. |
suffix |
Suffix used for mirror variables. |
flag |
Flag. |
group_rank |
Group rank. |
flow |
Name of the flow variable. |
main_flow |
Flow to be considered to be better reported. Leave 1 (imports) unless you are very sure that you really want to change this. |
discrepancy |
Name of the discrepancy variable. |
official_flags |
Official flags. |
Vector with two possible values 'rep' if the data that should remain is the one of the reporter or 'prt' if it should be the partner's.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.