Summary
hg Use ID
dolování dat z databáze evropských hráčů go
Download as zip
Laman 9f268fd17a12
6 years ago
Laman ce5c50aae93a
6 years ago
Laman 402daa48409f
7 years ago
Laman 02615be35737
7 years ago
Laman 0aeebf95bfe7
7 years ago
Laman 19978bbb3d69
7 years ago
Laman de0a4653463b
7 years ago
Laman 606acf3a4446
7 years ago
Laman e8e04440f196
7 years ago
Laman 8732ad224e56
7 years ago

Zpracování a dotazování dat z EGD

Dolování dat z http://europeangodatabase.eu/EGD/ v rámci demografického výzkumu evropských hráčů go.

egd.py

Funkce pro načtení dat vyexportovaných z veřejného rozhraní EGD a jejich konverzi do SQLite databáze.

setup.py

Načte soubory tlist.html a all.hst (z aktivního adresáře) a vytvoří soubor egd.db s databází.

queries.py

Uložené dotazy.

Schéma databáze

tournaments

  • (text) code
  • (text) datum
  • (text) class
  • (integer) round_count
  • (integer) player_count
  • (text) country_code
  • (text) description

players

  • (integer) pin
  • (text) name

players_performance

Co se vztahuje zároveň k hráči a k turnaji. Většina položek all.hst.

  • (integer) pin
  • (text) tournament_code
  • (text) country_code
  • (text) club
  • (integer) win_count
  • (integer) game_count
  • (real) rating_before
  • (real) rating_after

players_performance_tournaments

Pohled na tournaments a players_performance.

  • (integer) pin
  • (text) p_country_code - země hráče
  • (real) rating_before
  • (real) rating_after
  • (text) t_country_code - lokace turnaje
  • (text) datum