Description Usage Arguments Examples
Daily volumes by date and API
1 2 | occ_daily_volume(api.filter = NULL, exclude = FALSE, after = NULL,
...)
|
api.filter |
character; API numbers to filter |
exclude |
logical; should |
after |
date or object coercible to date; A non-null entry with return results after the specified; otherwise all data are returned. |
... |
additional paramters sent to |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | ## Not run:
#
# Plot total injection across Oklahoma
# (complete since early 2015)
#
require(dplyr)
dv <- occ_daily_volume()
# each API gets a column in the result
# and date is given in `Report.Date`
head(names(dv))
Dates <- dv$Report.Date
Vols <- dplyr::select(dv,-Report.Date)
plot(Dates, rowSums(Vols, na.rm=TRUE), type='l')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.