Returns rows matching the provided dates.
1 | get_for_dates(data, dates, lag = 0)
|
data |
Data frame, typically loaded using load_soi/iod/sam, which has integer year and month columns. |
dates |
Dates to grab corresponding rows for. Can be any type supporting the format command (e.g., Date, POSIXlt, POSIXct) |
lags |
Number of months to lag matching. For instance, lag = 1 corresponds to matching to date to the previous month in the data. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.