This function allows you to write data frames into UFM files.
write_ufm(x, file, remove_txt = TRUE, clean_up = TRUE, stack = FALSE)
x | A data,table object with three columns O,D,Trips or 4 columns if stack = TRUE |
---|---|
file | The file to write, extension mandatory |
remove_txt | when set to TRUE it will remove the interim txt files |
clean_up | when TRUE removes the VDU, KEY and LPX files |
stack | wether or not to stack the function. Changes to true for 4 column inputs |