Banner impression data is stored as CSV in multiple files and need to be parsed.
Acceptance Criteria
- For each file the following data is determined for storing into the database:
- Start of the timespan for which the impression data was aggregated
- Banner name
- Impression count
- Bad lines are logged/reported
Implementation Notes
- The file is named banner_impressions_YYYYMMDD_hhmm.csv, using the beginning of the time span in UTC.
- The file contains comma-separated values:
- Banner name
- Impression count (extrapolated)
- Should return a data object containing the date, banner name and impression count for each CSV line