[master, thesis, guide, marketing, economics, management, tisem, research, guidance, preparation, question, proposal, skills, resources]


Overview

Coding, workflow, and data management is the core foundation of any independent research project within the quantitative social sciences (e.g. in economics, data science, or marketing). Think of any big course project or the research for your Master thesis. This is an overview of the sections covered:

  • Code versioning: GitHub
  • Data collection techniques
  • Data import
  • Inspecting raw data
  • Building your project pipeline

Code versioning: GitHub

GitHub is a powerful version control platform that allows you to manage and track changes in your code. This ensures transparency, and organization throughout the research process.

Why use GitHub for your course project or Master Thesis?

Even if your project/thesis is not a collaborative project, keeping your work on GitHub still offers a lot of advantages:

  • Version control: Easily track changes, view previous versions, and revert to earlier drafts if needed. No more confusion with multiple versions of the same document (e.g. saving the file as “Thesisdraft1”, “Thesisdraft2” and so on).

  • Transparent documentation: The commit history provides a clear record of all the edits made. Leaving clear commit messages helps in understanding what edits you made when revisiting your work after months of working on it.

  • Branching: You can create branches for different sections without impacting the main project draft in which you can experiment as much as you want.

  • Remote accessibility: Access your project from anywhere as GitHub is a cloud-based platform.

  • Backup: GitHub serves as a secure backup, minimizing the risk of losing your work.

  • Showcasing your work: After finishing the project, you can keep it on GitHub, making it accessible for others to use and showcasing your research!

Use this topic to learn how to use GitHub for your project!

Data collection techniques

Depending on your research, you might want to create your own data. Techniques for data collection include web scraping or APIs.

Data import

You might want to analyze data sets for your project that already exist somewhere. There are several techniques to import data, dependent on your data source. Use these topics to learn about importing data and see example cases.

Inspecting raw data

Upon importing your raw data, explore it right away to assess its quality. There are several things you can do:

  • Visually inspect your data: Load the data into your software program (e.g. R, Excel) and visually inspect the data tables and their structure.

  • Cross-tabulate data: Organize your data in a table format to see the frequency distribution of variables' categories in relation to each other. Do this with table() in R or pivot tables in Excel.

  • Plot your data to explore trends (e.g. with plot() in R), or distributions (e.g. with hist() in R). Aggregate data by a common unit before plotting (e.g. time periods, categories like countries or brands).

Important considerations

Key considerations when assessing your raw data quality include the following points:

  • Documentation: study any provided ReadMe file or documentation thoroughly. Or if there is no documentation available, create your own using this tutorial which includes a template.

  • Variable names and columns: Ensure you understand the meaning of each variable and column. Confirm if any columns are incomplete.

  • Data quality:

    • Check for feasibility and consistency in variable values. Are there any values that seem unrealistic?
    • Detect missing values and identify if missing values truly represent NA (Not Available) data or if they imply zero values.
    • Verify the consistency in data definitions across the dataset, including the measurement units of your variables.
    • Pay attention to proper encoding of strings and headers.
Tip

GDPR compliance
When dealing with data, ensuring compliance with your organization’s data management policies is crucial. This often entails promptly anonymizing personally identifiable information during your data preparation phase.

Tilburg University has provided specific guidelines for students. Moreover, the legal department at Tilburg offers valuable guidance on handling personal data with care.

Building your project pipeline

A project pipeline is a systematic framework that gives a structured sequence of the steps included in your research. It outlines the flow of tasks, from data collection and cleaning to analysis and visualization.

Your project pipeline might quickly become more complex, which makes a clear structure even more important. A good project pipeline ensures consistency and facilitates efficiency by breaking down the complex process into smaller manageable steps.

It also ensures transparency. For example, a project where code files are separated into multiple smaller components (e.g. one for data cleaning, one for running the model, one for producing tables and figures) is way easier for others to read and understand.

Use this tutorial that covers the principles of project setup and workflow management as a guide.

Pipeline automation

If your project is data-oriented, e.g. related to marketing analytics or data science, consider automating your pipeline. This tutorial is helpful to teach you how to automate your pipeline automation using Make.

Contributed by Valerie Vossen