Country input facility data set
The workbook of monthly health facility data by district and indicator, exported from HMIS/DHIS2, and how it is loaded.
The country input facility data set is the country's DHIS2DHIS2 District Health Information Software 2, the software most countries use as their health management information system (HMIS); health facilities' monthly reports are entered in it, and the facility data workbook is exported from it. data by month, district and indicator, in an Excel workbook. The app reads it, checks it and saves it as the master facility crude data set, the starting point of the data quality assessment and every later step.
At a glance
- Holds: the monthly service numbers, reporting completeness, population and administrative data of every district.
- Format: an Excel workbook (
.xlsxor.xls) from the Data Extractor the first time; the saved.rdsafterwards. - In the app: the Upload Data step of Getting started.
Why
Routinely reported health facility data are an important data source for health indicators at facility and population level. The data are reported by health facilities on events such as immunizations given, or live births attended. They give the numerators of the coverage statistics, for the country and for every region and district, year after year.
What
The workbook, in the format produced by the Data Extractor, must contain these sheets:
Each indicator is defined in the DHIS2 data indicator definitions.
The app accepts these files for the facility data:
| Format | When to use it |
|---|---|
Excel workbook: .xlsx or .xls | The first time: the workbook with the required sheets. |
Stata dataset: .dta | A single, already merged dataset. |
A dataset already saved by the app: .rds | Every later time: it opens without the checks. |
Working folder
Prepare a dedicated working folder before loading the data. It is where you keep the input files for the app, and where the app creates the saved data file used for faster loads.
- Choose a clear folder name that you can easily remember and reference, preferably on your computer.
- Place the Excel workbook in that folder before starting the app.
- Keep any related documentation, data or country-specific files together, so the working folder is self-contained.
Best practice
- Use one working folder per country or DHIS2 export batch.
- Keep the original Excel source file and the generated
.rdsfile together. - Do not rename the
.rdsfile: the app manages it.
Loading the data
For the first load, use the Excel workbook generated from the HMIS/DHIS2 exports. For later loads, use the saved file, which the app creates in the working folder when the workbook is loaded.
The saved .rds file
- When you load an Excel workbook for the first time, the app converts it and saves a companion
.rdsfileRDS file The copy of a loaded dataset that the app saves next to the source file (.rds, an R data file). It opens much faster than the Excel workbook, without the checks; delete it to reload a changed workbook. in the same working folder. - On later loads, the app looks for that
.rdsfile and uses it, which is much faster. - When you open the same Excel or Stata file again, the saved copy is loaded instead. Delete it if you changed the workbook and want to load it afresh.
The first load may therefore take a little longer, while the workbook is read and transformed.
Interpretation
- Does the workbook cover every year and district you want to analyse? Missing years or districts cannot be added later in the app.
- Did you change the workbook since the last load? Then delete the saved
.rdscopy first, or the app opens the old data. - Is the dataset for the right analysis? A dataset saved by the RMNCAH app cannot be opened in the Vaxx app, and the other way round.
After the setup
When loaded, the workbook goes through the checks on the uploaded data. Once they pass and loading is finished, the data quality assessment can start.