Skip to content

My statistics project, a Python script to collect data about Scratch projects and users.

License

Notifications You must be signed in to change notification settings

piano-miles/Scratch-Userdata

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scratch-Userdata

Overview

This is a Python program to collect data about Scratch projects and users for my statistics project.

The code for data collection is local/main.py.

  • The code uses a lot of RAM, so make sure you have at least 4GB available.
  • After running the program, the collected data will be written to local/dataset.csv.

Dependencies

To run the code, you will need Python 3 installed. The project uses the json, time, threading, os, sys, urllib3, tqdm, and requests libraries, all but the last three of which are already in Python's standard library.

To install the required dependencies, run python3 -m pip install -r requirements.txt for Unix/macOS or py3 -m pip install -r requirements.txt for Windows in your commandline.

Other Files

Results and analysis are included in the results folder.

  • The results/project data folder contains the collected raw data with some extra columns for analysis, and it also contains the LaTeX code and PDF for the paper writeup.
  • The results/final-report folder contains the PDFs for my final report (the project data and writeup).

The web version does not work, because pyodide has issues loading external files into the virtual file system. To collect the data yourself, you have to run the local script.