Function to check if month is missing while year and day are non-missing (i.e. would be in the format of "yyyy—dd")

missing_month(date)

Arguments

date

date vector (character) in the format 2020-01-20

Value

vector