Last time I used this database for the Euros two years ago, the general rule seemed to be:
- Goals which occur during the first half should have their
matchMinute set to the minute on the clock they occurred in
- Goals which occur during stoppage time after the first half should have their
matchMinute set to the sum of 45 and the stoppage time minute they occurred in (eg a goal at 45+5 should be set to 50), ie also the minute on the clock they occurred in, and should have isOvertime set to true
- Goals which occur during the second half should have their
matchMinute set to the minute on the clock they occurred in, even if this is less than the above
However this system is fairly confusing, and this time I've noticed people setting things differently — I saw multiple goals set to 45 with the comment 45+5, which I have now "corrected" (though I don't know if my interpretation is actually correct or not).
Can there be some clarity on what is expected here, both in terms of the API docs and the website? Maybe the site especially could be revised to make entry of these easier (eg allow entering X+Y style times and have it automatically do the right thing depending on the value of X)?
A further question is how penalties taken during a match and penalties taken during a penalty shootout can be distinguished?
Last time I used this database for the Euros two years ago, the general rule seemed to be:
matchMinuteset to the minute on the clock they occurred inmatchMinuteset to the sum of 45 and the stoppage time minute they occurred in (eg a goal at 45+5 should be set to 50), ie also the minute on the clock they occurred in, and should haveisOvertimeset totruematchMinuteset to the minute on the clock they occurred in, even if this is less than the aboveHowever this system is fairly confusing, and this time I've noticed people setting things differently — I saw multiple goals set to 45 with the comment 45+5, which I have now "corrected" (though I don't know if my interpretation is actually correct or not).
Can there be some clarity on what is expected here, both in terms of the API docs and the website? Maybe the site especially could be revised to make entry of these easier (eg allow entering X+Y style times and have it automatically do the right thing depending on the value of X)?
A further question is how penalties taken during a match and penalties taken during a penalty shootout can be distinguished?