openeventdata / phoenix_pipeline

Turning news into events since 2014.
MIT License
50 stars 33 forks source link

File names rather than stems in phox_utilities #11

Closed philip-schrodt closed 10 years ago

philip-schrodt commented 10 years ago

The PHOX_config.ini file holds file stems, e.g. "Phoenix.events." which are then converted to the daily file names, e.g. "Phoenix.events.140215.txt". The file name conversion is currently done in the various .main(date_string) routines but could easily be done in phox_utilities.parse_config() as the names are always standard. Saves a few lines of code and one less opportunity for incompatibility

johnb30 commented 10 years ago

Addressed in part by #38.