
Clean Registration Numbers
clean_registration.RdStandardizes boat registration numbers by removing spaces and filtering out invalid or placeholder values.
Value
Character vector with cleaned registration numbers. Invalid values (empty strings, "0", "0000", "035") are converted to NA.
Details
The function performs the following transformations:
Applies text cleaning via
clean_text()Removes all spaces
Converts invalid placeholders to NA: "", "0", "0000", "035"