removeduplicatedflows: Remove duplicated flows

Description Usage Arguments

View source: R/clean.R

Description

Print the number of duplicated entries and remove them if needed. The function tests for all duplicated columns (contrary to findduplicatedflows() which looks only for some columns). This might be an issue if 2 flows have duplicated reportercode, partnercode, productcode, flow, period but their quantity column is different.

Usage

1

Arguments

dtf

a dataframe contiaining trade flows,


EuropeanForestInstitute/tradeflows documentation built on Jan. 7, 2018, 1:08 p.m.