I\'m fairly new to R and have been struggling with simplifying some code using a for loop. I am attempting to pull water quality data from an online database using the packa