powered by
Request data from a particular station for the desired time period. Data are returned as a single character string containing the WRCC output.
Monitor unitIDs can be found at https://wrcc.dri.edu/cgi-bin/smoke.pl.
wrcc_downloadData(startdate = strftime(lubridate::now(), "%Y010101", tz = "UTC"), enddate = strftime(lubridate::now(), "%Y%m%d23", tz = "UTC"), unitID = NULL, baseUrl = "https://wrcc.dri.edu/cgi-bin/wea_list2.pl")
desired start date (integer or character representing YYYYMMDD[HH])
desired end date (integer or character representing YYYYMMDD[HH])
station identifier (will be upcased)
base URL for data queries
String containing WRCC output.
Fire Cache Smoke Monitoring Archive
# NOT RUN { fileString <- wrcc_downloadData(20150701, 20150930, unitID = 'SM16') df <- wrcc_parseData(fileString) # }
Run the code above in your browser using DataLab