Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Latest commit

 

History

History
34 lines (26 loc) · 1.89 KB

README.md

File metadata and controls

34 lines (26 loc) · 1.89 KB

Tutorial: Data wrangling with SQLite

In this tutorial we learn how to use a relational database to merge and analyse CSV data from different sources. You can follow the instructions for this tutorial by opening the file qmss-2016/relational_databases/README.html (from your local clone of the QMSS repository) in your browser.

The tutorial requires

We will use the following data:

The tutorial is organized in a way that may resemble a typical usage for relational databases in a research setting: Starting with a question

Does our data allow any insight regarding the debate about effects of aridity/humidity on tonality of languages?

we inspect available data, then procede to load this data into a relational database for further processing, and finally export a dataset in CSV from the database which may serve as the basis for further analysis.

Sections

  1. Introduction to relational databases and SQL
  2. CSV data
  3. Importing CSV data
  4. Querying SQL databases
  5. Exporting CSV data
  6. What's next