Data Map
A data map is a template designed by DIME Analytics for organizing the 3 main aspects of data work: data analysis, data cleaning, and data management. The data map template consists of three components: a data linkage table, a master dataset, and data flow charts. DIME Analytics recommends using data maps to organize the various components of your data work in order to increase the quality of data, as well as of research.
Read First
- The best time to start creating a data map is before starting with data collection.
- A data map template has three components: a data linkage table, one or more master datasets, and one or more data flow charts.
- The research team should keep updating the data map as the project moves forward.
- The data map template is meant to act as a starting point for data management within a research team.
- It is important to understand the underlying best practices for each component of a data map before discussing which components do not apply in a given situation.
Overview
Most of the details required for preparing a data map are not complex. For example, it is easy for the field coordinator (FC) to remember what the respondent ID is when data collection is still ongoing. However, it is harder to ensure that everyone in the research team has the same level of understanding. Further, as time passes, the field coordinator (FC) themselves can forget what exactly a particular variable measures, or why it was included in the dataset. Research teams often do not spend enough time planning and organizing data work because small details like the purpose of a variable might seem obvious. However, this lack of proper planning is a common source of error. Fortunately, the solution is to create a data map, which is quick and easy to implement.
DIME Analytics has prepared a data map template, which has the following three components:
- A data linkage table: The data linkage table lists all the datasets in a particular project, and explains how they are linked to each other. For example, a data linkage table can describe how a dataset containing information about students can be merged with a dataset containing information about various schools. It also specifies which ID variable can be used to perform the merging. Finally, the data linkage table should also include meta-information, that is, information about the datasets, where the original version of these data sets are backed-up, and so on.
- One or more master datasets: Master datasets allow the research team to keep track of units for each level of observation. For example, master datasets are useful for keeping track of each household if the unit of observation is individual households, each company if the unit of observation is individual companies, and so on. Most importantly, the master dataset should specify the uniquely and fully identifying ID variable for each unit of observation. Include variables related to the research design in the master dataset, such as treatment assignment variables in the form of dummy variables. The master dataset is therefore the authoritative source of all information in a particular project.
- One or more data flow charts: A data flow chart specifies which datasets are needed to create the analysis dataset, and how they may be combined by either appending or merging datasets. This means that there should be one data flow chart per analysis dataset. Make sure that every original dataset that is mentioned in a data flow chart should be listed in the data linkage table. For example, in a particular data flow chart, information about which variables to use as the basis for merging datasets should correspond to the information in the data linkage table.
Note - Please keep the following points in mind regarding data maps:
- A good data map can save a lot of time. Sometimes research teams realize that they are spending more time on linking datasets instead of actually analyzing data. In such cases, creating a data map can save a lot of time.
- It is never too late to create a data map. Even if the research team is in the middle of a project, or nearing the end of a project, it is still a good idea to pause and create a data map if it is becoming difficult to keep track of various aspects of the data.
- Modify the data map based on the context. As with all templates, the research team might need to add items to the data map template, or may find that some components do not apply in a particular context.
- There can be multiple master datasets, but only one data linkage table. Many projects have multiple units of observation, in which case there should be one master datase for each unit of observation that is considered central to the project. However, there should only be one data linkage table per project.
Data Linkage Table
The purpose of a data linkage table is to allow the research team to accurately and reproducibly link all datasets associated with the project. Errors in linking datasets are fairly common in development research, particularly when there are several rounds of data collection involved, or while using secondary data. For example, you may have two datasets with the same units - such as companies, health workers, agricultural plots. However, there may not be a way to easily merge or append them. In such cases, the research team might have to do a fuzzy match on string variables, or on sets of descriptive characteristics. This can often be a time-consuming and error-prone process which cannot be scaled up when a large number of datasets are involved.
Master Dataset
Most research projects collect and use multiple datasets for a given unit of observation. A master dataset is a comprehensive listing of the fixed characteristics of the observations that might occur in any other project dataset. Therefore, it contains one entry for each possible observation of a given unit of observation that a research team could ever work with in the project context via sampling, surveying, or otherwise. While master datasets take some time and effort to set up, they dramatically mitigate sources of error and simplify working with datasets from multiple sources (i.e. baseline data, endline data, administrative and monitoring data, etc.).
Data Flow Charts
Data flow charts can be very simple, for example, when your analysis dataset is created by appending the baseline data with the endline data. But even in a simple case like that, you often realize that there is some administrative data, treatment statuses, monitoring data, etc. that is also needed when writing the data flow chart. Mapping all those needs and documenting them well in both the data flow charts and the data linkage map is the best way to guarantee that you find yourself in a situation where you cannot construct the analysis data as you do not have all the datasets you need, or the datasets you have does not have the information needed to create the analysis dataset.