datacommonsorg/mixer

Investigate choosing the right ranking mechanism for /stat/set collection APIs

shifucun opened this issue · 1 comments

When query stat for a collection of places, now the latest data for each place is used (

if !ok || pointStat.Date < cohort.PlaceToLatestDate[place] {
) and they could be from different sources.

Another option is to get data from the highest ranked source, which might not have the latest data.

There are pros and cons for each option. Latest data could be of low quality (from wiki etc); Census decennial has 2020 data but only has 3 data points, so not good to be a general preferred source for time series.

Tracked in internal bug.