Using R to download data from Sensor Map

Hi all, I am trying to use RStudio to download all the data from 38 sensors in a particular region. Has anybody got any experience with this? I have looked online and tried a few codes but I cannot get any of them to work. I am basically trying to ask R to download all data from with the sensor ID within the name of the file. Hope that makes sense.

You can tale a look to this thread R-Script or tips to download and use sensor data - #18 by pjg