Description Usage Arguments Value References Examples
View source: R/airsis_availableUnits.R
Returns a list of unitIDs with data during a particular time period.
1 2 3 4 5 6 7 | airsis_availableUnits(
startdate = strftime(lubridate::now(tzone = "UTC"), "%Y010100", tz = "UTC"),
enddate = strftime(lubridate::now(tzone = "UTC"), "%Y%m%d23", tz = "UTC"),
provider = "USFS",
unitTypes = c("BAM1020", "EBAM", "ESAM"),
baseUrl = "http://xxxx.airsis.com/vision/common/CSVExport.aspx?"
)
|
startdate |
desired start date (integer or character representing YYYYMMDD[HH]) |
enddate |
desired end date (integer or character representing YYYYMMDD[HH]) |
provider |
identifier used to modify baseURL |
unitTypes |
vector of unit types |
baseUrl |
base URL for data queries |
Vector of AIRSIS unitIDs.
Interagency Real Time Smoke Monitoring
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
# Fail gracefully if any resources are not available
try({
unitIDs <- airsis_availableUnits(20150701, 20151231,
provider = 'USFS',
unitTypes = c('EBAM','ESAM'))
}, silent = FALSE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.