<commit_before>pggameday
=========

A utility for saving MLB Gameday data to Postgres.

Just getting going here. Not yet functional.
<commit_msg>Getting the commands documented in the README.<commit_after>pggameday
=========

A utility for saving MLB Gameday data to Postgres.

Prerequisites: go

To build and run from the command line
---------

In your go workspace, under a directory github.com/ecopony/

    git clone <EMAIL>:ecopony/pggameday.git
    cd pggameday
    go build pg/pggameday.go

To create the database tables:

    ./pgmlbgd create-table

    
To import all pitches for a team for a given year:

    ./pgmlbgd import-pitches-for-team-and-year sea 2014


To import all pitches for a given year:

    ./pgmlbgd import-pitches-for-year 2014



{'fraction_non_alphanumeric': 0.08947368421052632, 'fraction_numerical': 0.010526315789473684, 'mean_word_length': 3.2994350282485874, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3413160', 'n_tokens_mistral': 259, 'n_tokens_neox': 233, 'n_words': 92}