hsInRange | R Documentation |
Looks for corresponding FCL codes in country-specific mapping tables from MDB files
hsInRange(uniqhs, maptable, parallel = FALSE)
uniqhs |
Data frame with columns reporter, flow, hsext. |
maptable |
Data frame with HS->FCL mapping with columns area, flow, fromcode, tocode, fcl |
parallel |
Logical. Should multicore backend be used. |
Data frame with columns reporter, flow, datumid, hs, hsext, fcl. datumid holds row numbers of original dataset. hs is input hs. hsext is input hs with additional zeros if requires. If there are multiple HS->FCL matchings, all of them are returned with similar id. If there were no matching FCL codes, NA in fcl column is returned.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.