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 Oct. 7, 2019, 10:57 a.m.