Installation and Usage Guide - ZuozHK19/T2DA GitHub Wiki

Installation

  1. Install all the libs:

    pip install -Ur requirements.txt

  2. Close your browser and run our graphical client:

    python3 GUI.py

  3. Installation complete!

Usage

  1. Start the programm:

    python3 GUI.py

  1. Press the green button

  2. Read the initial analysis on the screen

  3. Press "Show Report"

  4. Study the report and see what you can learn from it!

Console instructions

You can also use our tool on the command line:

  1. Close your browser, then run:

    python sqlreader.py

Optionally put a copy of your cached SQLite database in the private folder if you want to keep your browser running.

  1. Now pipe the resulting extracted content into our data packager, and save the resulting output, like this:

    cat private/websites.csv | python packager.py datapackage > datapackage/data/places_100.csv

  2. Look at the contents of the datapackage folder for the resulting (anonymized) data and report.

  3. ???

  4. Profit!!!