Closed bdagnino closed 4 years ago
Indeed a good first issue!
Does the Metadata class refer to the tracking data or to the event data or is it a single Metadata class that should refer to both?
if the later, then should Metadata have "tracking_provider: Provider' and "event_provider: Provider"?
@FCrSTATS each Dataset has a Metadata field. So for example if you have tracking from Tracab and events from Opta, you would have two datasets, one for tracking (dataset.metadata.provider = Tracab) and one for events (dataset.metadata.provider = Opta)
thanks Bruno, where is dataset.metadata.provider assigned?
It isn't yet, that's what this issue is about 😺
"is" == "should" :)
seems sensible to add to kloppy\domain\common.py as you suggested but is there a natural point at which it would be used
it might be the lack of caffeine, but I'm not sure I understand what you mean.
I think a good addition in the future would be to add a provider type to the metadata. That way you would know from which provider the data came, to check if you need to for example:
We could add it in the
kloppy\domain\common.py
, something like:I'll eventually need it for a project I'm working on and I could do it then, but could also be a good first issue for someone else that want's to contribute.