readdat: Read Comext .dat file for a given product code

Description Usage Arguments See Also

View source: R/readcomext.R

Description

This function uses the awk program to filter large .dat file before reading them as csv. This is a convenience function for raw data exploration, the transfer to the database itself is performed by another function called filterandrenamedat.

Usage

1
readdat(datfile, productcodestart)

Arguments

datfile

character path to the .dat file

productcodestart

numeric begining of a comext product code

See Also

write2db for direct transfer of the dat file to the database


stix-global/eutradeflows documentation built on Nov. 13, 2020, 9:23 p.m.