driehle / nycflights13-mysql

The nycflights13 dataset curated for MySQL/MariaDB. Suitable for use with Power BI or other tools.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nycflights13 for MySQL/MariaDB

Overview

The nycflights13 dataset is a well-known dataset for beginners tutorials in data analysis. It is, for example, available on Kaggle, as a R package and as a Python package.

This repository provides the data ready to be imported in a MySQL or MariaDB database.

Usage

First, you will need a database and the credentials required to access it. Edit my.cnf to your needs by entering all required information. Hint: You can first copy my.cnf to .my.cnf, if you want to prevent Git from tracking the file.

Next, ensure you have the package mysql-client installed on your Linux machine. The tools mysql and mysqlimport will be used.

Finally, run ./run.sh to import the dataset into the desired database. Take note that existing tables of the same name will be deleted without further confirmation.

Documentation

The following data is this dataset:

About

The nycflights13 dataset curated for MySQL/MariaDB. Suitable for use with Power BI or other tools.


Languages

Language:Shell 100.0%