View source: R/prepare_coordinates.r
prepare_coordinates | R Documentation |
This function allows you to read coordinates.dat file and extract the coordinates of all the nodes in a saturn network Use ufs_to_sf for link coordinates and an SF object
prepare_coordinates(dat, wd = ".", save_file = TRUE, output_file = if (save_file) "Coordinates.csv")
dat |
character; the name of the file to read e.g. "coordinates.dat" |
wd |
character; the working directory where the coordinates file exist |
save_file |
logical; TRUE to save the final file as .csv, else FALSE; default to TRUE |
output_file |
the name of the output csv file |
prepare_coordinates("2014_coordinates.dat")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.