There are a number of ObjectID and similar fields in the input reach data for both the species and EnvVar data. It's currently cleaned up with the following lines of code script 3:
# clean up, merge data sets -----
df.in$x.1 <- NULL
df.in$x <- NULL
df.in$scomname <- NULL # not in df.abs --> causing issues on the rearrange below
df.abs$x <- NULL
df.abs$x.1 <- NULL
There are a number of ObjectID and similar fields in the input reach data for both the species and EnvVar data. It's currently cleaned up with the following lines of code script 3:
We should handle in better in the GIS data prep.