sel1FCL: Select one record from multiple matches during HS->FCL...

View source: R/sel1FCL.R

sel1FCLR Documentation

Select one record from multiple matches during HS->FCL mapping process.

Description

Select one record from multiple matches during HS->FCL mapping process.

Usage

sel1FCL(hsfclmatch, maptable, cur_yr = NULL)

Arguments

hsfclmatch

Data frame with columns reporter, flow, hs, hsext, fcl, datumid, maplinkid

maptable

Data frame with HS->FCL mapping table.

cur_yr

Integer, year the trade module run on.

Value

Data frame similar to hsfclmatch but with all duplicates removed.


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