lsms-worldbank / labeller

Spot and fix common problems with variable and value labels🏷
https://lsms-worldbank.github.io/labeller/
0 stars 0 forks source link

Add command(s) to identify variable labels that do not follow a (regex) pattern #6

Closed arthur-shaw closed 10 months ago

arthur-shaw commented 11 months ago

Problem

Data producers may want all variable labels to follow a certain format (e.g., start with the variable number, be in sentence case, etc.). Beyond visual inspection, there are no good tools for detecting deviations from the desired pattern.

Implementation ideas

A potential algorithm might be: