Skip to content

CHNG min_lags not consistent within signals #1382

@chinandrew

Description

@chinandrew

Actual Behavior:

According to the metadata (https://api.covidcast.cmu.edu/epidata/covidcast_meta/), for both smoothed_adj_outpatient_cli (output as of issue creation shown below) and `smoothed_adj_outpatient_covid, the min_lag for the county geo type is 3 while the min lag for the other geo types is 5.

{"data_source":"chng","signal":"smoothed_adj_outpatient_cli","time_type":"day","geo_type":"county","min_time":20200201,"max_time":20211002,"num_locations":3102,"min_value":0.001303,"max_value":99.920521,"mean_value":3.1030448,"stdev_value":5.3921057,"last_update":1633663522,"max_issue":20211007,"min_lag":3,"max_lag":386},{"data_source":"chng","signal":"smoothed_adj_outpatient_cli","time_type":"day","geo_type":"hhs","min_time":20200201,"max_time":20211002,"num_locations":10,"min_value":0.007255,"max_value":15.212463,"mean_value":3.0725896,"stdev_value":2.5442999,"last_update":1633663525,"max_issue":20211007,"min_lag":5,"max_lag":386},{"data_source":"chng","signal":"smoothed_adj_outpatient_cli","time_type":"day","geo_type":"hrr","min_time":20200201,"max_time":20211002,"num_locations":306,"min_value":0.00136,"max_value":50.815903,"mean_value":2.946128,"stdev_value":2.9852548,"last_update":1633663525,"max_issue":20211007,"min_lag":5,"max_lag":386},{"data_source":"chng","signal":"smoothed_adj_outpatient_cli","time_type":"day","geo_type":"msa","min_time":20200201,"max_time":20211002,"num_locations":392,"min_value":0.00135,"max_value":50.943135,"mean_value":2.6577157,"stdev_value":2.9307029,"last_update":1633663525,"max_issue":20211007,"min_lag":5,"max_lag":386},{"data_source":"chng","signal":"smoothed_adj_outpatient_cli","time_type":"day","geo_type":"nation","min_time":20200201,"max_time":20211002,"num_locations":1,"min_value":0.016727,"max_value":10.397712,"mean_value":3.3523498,"stdev_value":2.2325461,"last_update":1633663526,"max_issue":20211007,"min_lag":5,"max_lag":386},{"data_source":"chng","signal":"smoothed_adj_outpatient_cli","time_type":"day","geo_type":"state","min_time":20200201,"max_time":20211002,"num_locations":55,"min_value":0.002476,"max_value":31.972673,"mean_value":2.7971796,"stdev_value":2.6956122,"last_update":1633663526,"max_issue":20211007,"min_lag":5,"max_lag":386},

Expected behavior

All geo types should have the same min lag

Context

Encountered when pulling data for nowcasting. Also noting that previously pulled state data (from July) for these signals have some data with min lag 3, though perhaps there was some reissue between then and now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    data qualityMissing data, weird data, broken data

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions