R interface to USGS APIs