Difference between revisions of "Data Flow Charts"

Jump to: navigation, search
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
A '''data flow chart''' is the third component of using a [[Data Map|data map]] to organize [[Research Data Work|data work]] within a [[Impact Evaluation Team|research team]]. '''Data flow charts''' map out which datasets we need in order to create the datasets that we will run our analysis on, and to communicate to the full team how to create them. After the datasets are created, the '''data flow charts''' becomes a great visual way of documenting how the analysis datasets were created. The reason research projects go through the time-consuming and often costly effort it takes to acquire data is that in the end we want to analyze the data.
A '''data flow chart''' is the third component of using a [[Data Map|data map]] to organize [[Research Data Work|data work]] within a [[Impact Evaluation Team|research team]]. The final purpose of going through the complex process of [[Primary Data Collection|collecting]] or [[Data Acquisition|acquiring data]] is to [[Data Analysis|analyze it]]. '''Data flow charts''' allow the '''research team''' to visualize which datasets are needed in order to create the datasets that will finally be used for analysis. They are also a useful tool to communicate to the rest of the team, and document how the [[Data Analysis|analysis datasets]], are created using various '''intermediate datasets'''


== Read First ==
== Read First ==
* A '''data map''' is a template designed by [https://www.worldbank.org/en/research/dime/data-and-analytics DIME Analytics] to organize 3 main aspects of [[Research Data Work|data work]]: [[Data Analysis|data analysis]], [[Data Cleaning|data cleaning]], and [[Data Management|data management]].
* The '''data map template''' consists of three components: a [[Data Linkage Table|data linkage table]], a [[Master Dataset|master dataset]], and [[Data Flow Charts|data flow charts]].
* '''Data flow charts''' specify which datasets are needed to create the [[Data Analysis|analysis dataset]], and how they may be combined by either '''appending''' or '''merging''' datasets.
* Every original dataset that is mentioned in a '''data flow chart''' should  be listed in the [[Data Linkage Table|data linkage table]].


== Overview ==
== Overview ==
Data flow charts are very much related to the data linkage table, and they should be created in an iterative process. Each starting point in the data flow chart should be a dataset listed in the data linkage table, but we often do not understand what the full list of datasets we need in the data linkage table is until we have created the data flow chart. Another way to compare the two tools is that the data linkage table is just list all the datasets we have or that we know we will have while the data flow chart maps out what datasets we need or will need, to create the datasets needed in our analysis.  
'''Data flow charts''' are very much related to the [[Data Linkage Table|data linkage table]]. Together, the two form an interdependent loop. For instance, each starting point in the '''data flow chart''' should be a dataset which is listed in the '''data linkage table'''. However, until we have created the data flow chart, we cannot easily understand which datasets we need to include in the data linkage table. An easy way to differentiate the two concepts is as follows - while the data linkage table just list all the datasets we have, the data flow chart maps out which datasets we will need in order to create the datasets to perform [[Data Analysis|data analysis]].  


 
'''Note''' - It is important to keep the following points in mind regarding '''data flow charts''':
It is common for projects to require more than one analysis dataset, for example when running regressions on multiple units-of-observations. In these cases, you need one data flow chart per analysis dataset.  
* '''Make one data flow chart for every analysis dataset'''. It is common for projects to require more than one analysis dataset, for example when running regressions on multiple [[Unit of Observation|units of observation]]. In these cases, the [[Impact Evaluation Team|research team]] should make one data flow chart for each analysis dataset.  
 
* '''Document your needs properly.''' Data flow charts can be very simple, for example, when the analysis dataset is created by appending the '''baseline''' data with the '''endline''' data. Even in such a case, the '''research team''' will need to include information about [[Administrative Data|administrative data]], [[Randomized_Evaluations:_Principles_of_Study_Design#Step_2:_Randomization|treatment statuses]], [[Administrative_and_Monitoring_Data#Monitoring_Data|monitoring data]] etc. Mapping this information,  and documenting it properly using data flow charts and the data linkage table is the best way to avoid a situation where the research team cannot construct the analysis data because they do not have all the datasets they need, or the datasets do not have all of the information that is required to create the analysis dataset.
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.


== Sample Data Flow Chart ==
== Sample Data Flow Chart ==
Given below is an example of a '''data flow chart''' for a project that has three rounds of [[Primary Data Collection|data collection]]. The [[Unit of Observation|unit of observation]] for this example is the farmer, where the [[Randomized_Evaluations:_Principles_of_Study_Design#Step_2:_Randomization|treatment status]] was randomized at the community level, and [[Sample_Size_and_Power_Calculations#Take-up|treatment take-up]] was monitored at the farmer level. This example is based on the [[Data Linkage Table|data linkage table]] that is provided [[Data_Linkage_Table#Template|here]]. '''Note''' that that each starting point in the flow chart below corresponds to an item in the mentioned data linkage table.


Below is a data flow chart of a project with three rounds of data collection on farmer level, where the treatment status was randomized on community level and treatment take up was monitored on farmer level. This example is based on the data linkage table above, and you can see that each starting point in the flow chart below corresponds to an item in the data linkage table.
[[File:DataFlowChart.png|750px|thumb|center|'''Fig. : Sample Data Flow Chart]]
 
[[File:DataFlowChart.png|750px|thumb|center|'''Fig. : Data Flow Charts]]
 
In the example we have used the shape of a cylinder to represent a dataset and a rectangle to represent an action like “merge” or “append”. You do not need to follow this practice, but cylinders commonly indicate data in data infographics. The example below has been created in the free software https://www.lucidchart.com/, but could just as well be created in Microsoft PowerPoint. You could also do this on pen and paper or a whiteboard and scan or take a photo of the final version, but the benefit of creating the chart digitally is that it is easy to update if you have to change something over the course of the project. It is not a bad idea to create the first version on paper or on a whiteboard together with the rest of your project team, and then transfer it to an editable digital format.
 
For each dataset, we indicate in the data flow chart what the uniquely and fully identifying variable or variables are. Only ID variables that are listed as master project ID variables in the data linkage table should be used in the data flow chart. One common exception to that rule, however, is a variable indicating time in longitudinal data or other such “panel” structural indicators. Another best practice is to take note of the information from supporting datasets, such as treatment take-up in the monitoring data, that is the most relevant for the analysis data.


When a rectangle indicates that two dataset are combined with a merge, then the box indicates which ID will be used and if there is a one-to-one (1:1) merge, a one-to-many (1:m) merge or a many-to-one (m:1) merge. When a rectangle indicates that two datasets should be combined by appending them, then it is useful to indicate how the ID variable in the resulting data will have changed if it has changed.
== Explanation ==
Given below is an explanation of the thinking behind designing an effective '''data flow chart''':
* '''Cylinder => dataset; rectangle => action.''' In the above example of a '''data flow chart''', we have used the shape of a cylinder to represent a dataset, and a rectangle to represent an action like '''merge''' or '''append'''. You do not need to follow this practice, but cylinders are commonly indicate datasets while creating such infographics.
* '''Paper version versus digital version.''' This flow chart has been created using the open-source software [https://www.lucidchart.com/ Lucidchart], but this could just as well be created in Microsoft PowerPoint. Alternatively, you could also do this in pen and paper, or on a whiteboard, and then scan or take a photo of the final version. However, the benefit of creating the chart digitally is that it is easy to update if you have to change something over the course of the project. It is a good practice to create the first version on paper or on a whiteboard with the rest of your research team, and then transfer it to an editable digital format.
* '''Unique and fully-identifying ID variables'''. For each dataset, we have indicated in the data flow chart what the [[ID_Variable_Properties#Property_1:_Uniquely_Identifying|uniquely]] and [[ID_Variable_Properties#Property_2:_Fully_Identifying|fully identifying variable(s)]] are.
* '''Master project ID variables.''' Make sure that you include only those [[ID_Variable_Properties|ID variables]] in the data flow chart that are listed as '''master project ID variables''' in the [[Data Linkage Table|data linkage table]]. One common exception to this rule, however, is a variable indicating time in longitudinal data, or other similar '''panel structure''' indicators.
* '''Supporting datasets.''' Another best practice is to take note of the information from supporting datasets, for instance, '''treatment take-up''' in the [[Administrative and Monitoring Data#Monitoring Data|monitoring dataset]] which is the most relevant for the analysis dataset.
* '''Other best practices.''' Also note that when a rectangle indicates that two dataset are combined with a merge, then the box indicates which '''ID variable''' will be used, and whether the type of merge is a one-to-one (1:1) merge, a one-to-many (1:m) merge or a many-to-one (m:1) merge. When a rectangle indicates that two datasets should be combined by appending them, then it is useful to indicate how the ID variable in the resulting data will change if the appended datasets change.


== Related Pages ==
== Related Pages ==
[[Special:WhatLinksHere/Data_Flow_Charts|Click here to see pages that link to this topic]].
[[Special:WhatLinksHere/Data_Flow_Charts|Click here to see pages that link to this topic]].

Revision as of 01:59, 14 December 2020

A data flow chart is the third component of using a data map to organize data work within a research team. The final purpose of going through the complex process of collecting or acquiring data is to analyze it. Data flow charts allow the research team to visualize which datasets are needed in order to create the datasets that will finally be used for analysis. They are also a useful tool to communicate to the rest of the team, and document how the analysis datasets, are created using various intermediate datasets

Read First

Overview

Data flow charts are very much related to the data linkage table. Together, the two form an interdependent loop. For instance, each starting point in the data flow chart should be a dataset which is listed in the data linkage table. However, until we have created the data flow chart, we cannot easily understand which datasets we need to include in the data linkage table. An easy way to differentiate the two concepts is as follows - while the data linkage table just list all the datasets we have, the data flow chart maps out which datasets we will need in order to create the datasets to perform data analysis.

Note - It is important to keep the following points in mind regarding data flow charts:

  • Make one data flow chart for every analysis dataset. It is common for projects to require more than one analysis dataset, for example when running regressions on multiple units of observation. In these cases, the research team should make one data flow chart for each analysis dataset.
  • Document your needs properly. Data flow charts can be very simple, for example, when the analysis dataset is created by appending the baseline data with the endline data. Even in such a case, the research team will need to include information about administrative data, treatment statuses, monitoring data etc. Mapping this information, and documenting it properly using data flow charts and the data linkage table is the best way to avoid a situation where the research team cannot construct the analysis data because they do not have all the datasets they need, or the datasets do not have all of the information that is required to create the analysis dataset.

Sample Data Flow Chart

Given below is an example of a data flow chart for a project that has three rounds of data collection. The unit of observation for this example is the farmer, where the treatment status was randomized at the community level, and treatment take-up was monitored at the farmer level. This example is based on the data linkage table that is provided here. Note that that each starting point in the flow chart below corresponds to an item in the mentioned data linkage table.

Fig. : Sample Data Flow Chart

Explanation

Given below is an explanation of the thinking behind designing an effective data flow chart:

  • Cylinder => dataset; rectangle => action. In the above example of a data flow chart, we have used the shape of a cylinder to represent a dataset, and a rectangle to represent an action like merge or append. You do not need to follow this practice, but cylinders are commonly indicate datasets while creating such infographics.
  • Paper version versus digital version. This flow chart has been created using the open-source software Lucidchart, but this could just as well be created in Microsoft PowerPoint. Alternatively, you could also do this in pen and paper, or on a whiteboard, and then scan or take a photo of the final version. However, the benefit of creating the chart digitally is that it is easy to update if you have to change something over the course of the project. It is a good practice to create the first version on paper or on a whiteboard with the rest of your research team, and then transfer it to an editable digital format.
  • Unique and fully-identifying ID variables. For each dataset, we have indicated in the data flow chart what the uniquely and fully identifying variable(s) are.
  • Master project ID variables. Make sure that you include only those ID variables in the data flow chart that are listed as master project ID variables in the data linkage table. One common exception to this rule, however, is a variable indicating time in longitudinal data, or other similar panel structure indicators.
  • Supporting datasets. Another best practice is to take note of the information from supporting datasets, for instance, treatment take-up in the monitoring dataset which is the most relevant for the analysis dataset.
  • Other best practices. Also note that when a rectangle indicates that two dataset are combined with a merge, then the box indicates which ID variable will be used, and whether the type of merge is a one-to-one (1:1) merge, a one-to-many (1:m) merge or a many-to-one (m:1) merge. When a rectangle indicates that two datasets should be combined by appending them, then it is useful to indicate how the ID variable in the resulting data will change if the appended datasets change.

Related Pages

Click here to see pages that link to this topic.