R/conversion_date_isoweek_isoyear.R
isoyearweek_to_isoyear_c.RdThis function breaks the string connected with '-' into year/week
isoyearweek_to_isoyear_c(x)
# Default S3 method
isoyearweek_to_isoyear_c(x)
# S3 method for class 'character'
isoyearweek_to_isoyear_c(x)ISO year in character
isoyearweek_to_isoyear_c('2020-10')
#> [1] "2020"