Following the pervious series on Stop Creating Option Sets One by One | DHIS2 Metadata Series, when working with categories in DHIS2, we often need to break data down into groups like age or sex.
For example, you might define:
- Sex: Male
, Female
- Age groups
: 17–20, 21–24, 25–28 … all the way up to 80+
While this structure is useful for analysis, creating all these category options manually can quickly become repetitive and time-consuming, especially when dealing with many age ranges.
In this short video, I demonstrate how you can create category options efficiently using CSV import, instead of adding them one by one.
YouTube Short
![]()
To make this even easier, I’ve also created a small GitHub repository with ready-to-use blank CSV templates that already follow the correct structure and naming conventions.
The idea is to remove the guesswork, so you can focus on filling in your data rather than figuring out the format.
GitHub Repository
![]()
I’d be interested to hear how others are currently handling bulk creation of metadata like this, especially for larger configurations.