Closed terryf82 closed 5 years ago
PR 181 implements something of a work-around for this issue, so that we can continue onboarding cities that choose not to supply the date of month for crashes (Pittsburgh, Brisbane and Philladelphia so far).
The _initializecity script now provides additional options for specifying different date formats, with _datecomplete, or in combination _dateyear, _datemonth and _dateday. This last one is optional, because some cities like those mentioned above withhold the day of month to anonymize the crash data. If this field is left blank, _standardizecrashes will pick a random day of the month and assign it.
I don't know there's any point in moving further on this, until we decide the value of temporal predictions (by week, month or any other period) versus simply predictions at point of execution.
Certain cities (Philadelphia and Brisbane at least) provide crash data with no day of month property, for privacy reasons.
For these cities to work we need to look at upgrading at least two processes: