cmu-delphi/delphi-epidata

metadata generation improvements

Aperta

#990 aperta il 4 ott 2022

 (2 commenti) (0 reazioni) (0 assegnatari)Python (67 fork)auto 404
acquisitionapi changeenhancementhelp wanted

Metriche repository

Star
 (104 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

  • metadata generation routine can get the list of src/sig faster now by using just the signal dimension TABLE and not the big complicated VIEW to gather them
  • add sort_keys=True to json.dumps() to ensure deterministic output
  • add number of points to metadata for each aggregation since we are in there already... and maybe avg number of re-issues to metadata if we wanna also hit the full table

https://github.com/cmu-delphi/delphi-epidata/blob/dev/src/acquisition/covidcast/database.py#L494

Guida contributor