This function can be applied to a single month within a year list object to identify problematic variables that are non-standard classes.
cs_validate_month(.data, month)
| .data | A tbl |
|---|---|
| month | An option string name or abbreviation of a month, or its numeric value. Acceptable inputs include, for example, "January", "january", "Jan", "jan", and 1. |
When the data are read into R, they occasionally are read in in ways
that readr's parser incorrectly handles. This issues can be identified
using cs_validate_year as occuring in specific months.
cs_validate_month is meant to be a follow-up function that gives more
detail about specific variables that need to be addressed.
cs_validate_year