View source: R/SurveyAnalysisLib.r
addPurchasePeriod | R Documentation |
Adds the purchase period identifiers to each licence record based on the if period stratification is enabled (TRUE) and identify early/late season licences based on the period stratification date
addPurchasePeriod(
licence_data,
survey_dates,
period_stratify,
period_stratify_date = NA
)
licence_data |
Data frame of licences |
survey_dates |
Electronic licences data, including specifics of each licence |
period_stratify |
Boolean identifying if period stratification is enabled |
period_stratify_date |
If splitting into early/late season, this identifies date of split |
The licence data frame with an additional draw_type column
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.