Read AIS text file

read_ais_txt(txt)

Arguments

txt

path to text file

Value

data.frame of data. TODO: describe all the rules and expectations based on AIS_SBARC_*.txt with possibility for alternate file formats and filtering for class A position reports, ie Message ID 1,2,3 per https://www.navcen.uscg.gov/?pageName=AISMessages. See use of this function in https://github.com/mvisalli/shipr/blob/master/data-raw/sbais.R.