Note that saving in scientific notation does not prevent the entries from being correctly read with import_gtfs() (i.e. they are still read as numbers and it doesn't seem to affect their precision), but the issue creator notes that it does affect his workflow, as pfaedle can't handle the format.
An issue has been filed in {gtfstools} noting that round shape_dist_traveled entries were saved in scientific notation: https://github.com/ipeaGIT/gtfstools/issues/73
Note that saving in scientific notation does not prevent the entries from being correctly read with
import_gtfs()
(i.e. they are still read as numbers and it doesn't seem to affect their precision), but the issue creator notes that it does affect his workflow, as pfaedle can't handle the format.Here's a reproducible example:
An easy solution to this problem seems to be adding
scipen = 999
to thedata.table::fwrite()
call inexport_gtfs()
.