Type providers work well for the scenario, “here’s a previously unknown dataset, I’d like to do some typed data analysis with it”. Our schema is fixed by Forecast, so we don’t especially benefit from this convenience feature of type providers. Provided types also suffer from being opaque and inflexible. Using the thoth library, it should be relatively easy to roll our own JSON deserialiser, which will make the Forecast data model explicit and easy to program with.
Type providers work well for the scenario, “here’s a previously unknown dataset, I’d like to do some typed data analysis with it”. Our schema is fixed by Forecast, so we don’t especially benefit from this convenience feature of type providers. Provided types also suffer from being opaque and inflexible. Using the
thoth
library, it should be relatively easy to roll our own JSON deserialiser, which will make the Forecast data model explicit and easy to program with.thoth
experimentProjects
type and use of JsonProvider