Read rivdata file

braidHymo_read(
  file,
  ID_XS = ID,
  Z = RASTERVALU,
  NA.value = -9999,
  sep = ";",
  row.names = 1
)

Arguments

ID_XS

column corresponding to ID of cross-section in the file (defaults to ID_XS)

Z

column corresponding the altitude in the file (defaults to Z)

NA.value

value of missing values in the file (defaults to -9999)

filepath

path to rivdata file

Value

Examples

braidHymo_read("data-raw/Drac_Chabottes_2018.txt")
#> Warning: cannot open file 'data-raw/Drac_Chabottes_2018.txt': No such file or directory
#> Error in file(file, "rt"): cannot open the connection
braidHymo_read("data-raw/Durance_Brillanne_2017.txt")
#> Warning: cannot open file 'data-raw/Durance_Brillanne_2017.txt': No such file or directory
#> Error in file(file, "rt"): cannot open the connection