cmu-delphi/delphi-epidata

metadata generation improvements

Open

#990 opened on Oct 4, 2022

 (2 comments) (0 reactions) (0 assignees)Python (67 forks)auto 404
acquisitionapi changeenhancementhelp wanted

Repository metrics

Stars
 (104 stars)
PR merge metrics
 (PR metrics pending)

Description

  • 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

Contributor guide