What makes a good variable naming convention
The article discusses the importance of a good variable naming convention for longitudinal surveys. It highlights common pitfalls in naming practices and emphasizes the need for clarity and consistency. The author shares insights gathered from a social media post, outlining both effective and ineffective naming strategies.
- ▪A good variable naming convention is crucial for longitudinal surveys.
- ▪Common mistakes include prioritizing brevity over clarity and using inconsistent naming cases.
- ▪The author gathered opinions on variable naming conventions from a social media platform.
Opening excerpt (first ~120 words) tap to expand
What makes a good variable naming convention survey design R code research Author Ben Harrap Published March 3, 2025 In particular, what makes a good variable naming convention for a longitudinal or panel survey? I wanted to answer this question so I could propose a good naming convention for a project at work. I have lots of opinions about this, largely based on working with variable names I don’t like, but I thought I should see what others thought so I posed the question on BlueSky… I get to propose a variable naming convention.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at Ben Harrap.