Committing first go at html2JSON parser. Needed libraries explained in README. Right now parses first play an exists. Not getting text from description field yet.
Add example.json and update documentation
Add example.json and update documentation
Merge branch 'master' of github.com:agude/Football-Data-Parser
Merge branch 'master' of github.com:JZirnstein/Football-Data-Parser into html_parser

Preparing to move forward with html parsing; pulling in Jan's changes.
Update README for html2json
Format code in html2JSON.py
Add converter_class.py

This class should handle all the conversion of data from raw to JSON.
Add __parse_officials() to converter_class.py

__parse_officials() parses the table of game officials and adds it to
the json_dict.

__init_json_dict() initializes an empty version of the json_dict.

Also added __repr__() and __str__() functions to the class the return
the same methods from the json_dict.
Move converter.py down a level
Add __parse_game_info to converter.py

Add various helper functions used in __parse_game_info to
parse_game_info.py.

Add tests to cover added functions in parse_game_info.py to
test_game_info.py.

Add a team name to team code converter in team_list.py.
Add "St. Louis Rams" to team_list.py
Remove parsing of over/under

The number is the important part; the (over/under) is redundant with the
final score of the game, so we now ignore it.
Added "dome" field in the venue dictionary

Fields that are completely enclosed (that is, they are domes) have
"dome" set to true, otherwise it is false.
Move dictionary declaration in converter.py

Dictionaries are now declared in __init_json(), instead of in each
function that fills them. Where a dictionary is completely generated
from one function (for example, weather), or doesn't make much sense to
have ahead of time (officials), then it is left as None and filled in by
the parsing functions.
Add the dictionary necessary for teamstats
Add __parse_title() to converter.py

__parse_title() extracts the home team, away team, and date of the game.

Helper functions for this method were added in
raw_data_parsers/parse_title_info.py, and tests covering them were added
in tests/test_title_info.py.

converter.py now also imports the json module and uses it to print the
resulting json data.
Update convert_title_teams()

convert_title_teams() now handles cases where the team names are split
by "vs." instead of "at", which is the case for some special games
(including the Super Bowl). The test code has been updated to reflect
this.
Add pfr_codes_to_code to team_list.py

Converts from Pro-Football-Reference team codes to our codes.
Committing first go at html2JSON parser. Needed libraries explained in README. Right now parses first play an exists. Not getting text from description field yet.