Closed amondal2 closed 4 days ago
geo_type
is almost always "state"
. However, at some point we'd also like to be able to run model at e.g. the county level, in which case geo_type
would be "county"
. (Also when we do a model run for the whole US, it is not "state"
. I'm not sure of the exact name we use there, but it's probably something like "nation"
. As to the geo_value
being an array, we'll have to ask @zsusswein.report_date
is usually just today, though sometimes we'd like to do retrospective testing, and then we'll change it. I believe as_of_date
would be a timestamp, where report_date
would just be a date. E.g. in python, as_of_date
would be a datetime.datetime
, and report_date
is a datetime.date
. @zsusswein is that correct?. reference_date
is the day of the "event", e.g. hospitalization, ED visit date, etc. So a given report_date
would probably have a bunch of reference_dates
, where all(reference_date <= report_date) == True
.COVID-CA
. That said, there may be other considerations I've forgotten about.Thanks @natemcintosh ! This is helpful; I'll take a stab at a PR and we can iterate from there.
Implement a script that generates a set of configuration objects based on the default parameters in https://github.com/cdcent/cfa-nnh-pipelines/blob/33b4a55daba3479cddc85fe10dac4732b2f2c91b/NHSN/Rt/run_azure_batch/write_config.R
It should also accept arguments so that the workflow can be triggered manually with a different set of arguments than the default.
My thought was to adapt the YAML in that script to the sample config here.
This PR will just handle the JSON generation, but future work will validate and push timestamped versions to Blob Storage.
Some questions about the schema for @zsusswein @natemcintosh --
geo_type
? Is there a reasongeo_value
is an array (my understanding was that each config would just have one geography associated with it)?report_date
(today) the same as the defaultas_of_date
andreference_date
?job_id
(I think I will use UUID7 as @natemcintosh suggested), but can thetask_id
be any random string?