determine_match_date | R Documentation |
Determine a match date for the values to be retrieved from a target dataset
determine_match_date(
id,
date,
data,
tolerance_lower = 0,
tolerance_upper = 0,
id_var,
date_var
)
id |
ID value for the target datset |
date |
date to be used for determining a matching date in the target dataset |
data |
target dataset |
tolerance_lower |
number of days to look for a matching target date in the past |
tolerance_upper |
number of days to look for a matching target date in the future |
id_var |
name of the ID variable in the target data |
date_var |
name of the date variable in the target data |
The closest matching date value in the target data for the given input date
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.