This makes sense in case there is no data, but we are facing a problem where we use stringencyData.country_code and stringencyData.date_value add this data to a knowledge graph and these 2 properties are used as part of the unique ID for en entity.
It is useful for us in some cases to have the policy data even when there is no stringency. A case where this happens is Lichtenstein for the 14th of March 2021
Being that the stringency data is in fact missing but the date and country code could still be provided, could this be achieved by providing for example a meta property that contains date_value and country_code?
I'm sorry if this is not the right place to report API issues, if that's the case could you point me to where I should log this? Anyway.
In the stringency endpoint of the second version of the API
https://covidtrackerapi.bsg.ox.ac.uk/api/v2/stringency/actions/{COUNTRY}/{DATE}
When no data is available in the stringencyData property, the whole object is replaced by a single "msg" property.
This makes sense in case there is no data, but we are facing a problem where we use
stringencyData.country_code
andstringencyData.date_value
add this data to a knowledge graph and these 2 properties are used as part of the unique ID for en entity.It is useful for us in some cases to have the policy data even when there is no stringency. A case where this happens is Lichtenstein for the 14th of March 2021
https://covidtrackerapi.bsg.ox.ac.uk/api/v2/stringency/actions/LIE/2021-03-14
Being that the stringency data is in fact missing but the date and country code could still be provided, could this be achieved by providing for example a meta property that contains date_value and country_code?
Example: