Skip to content

could configure-generators --spec=csv default to dist_gen.constant when no source data #57

@andysouth

Description

@andysouth

We have set consistent options for omop generators in a csv, but when there a field has no data we get an error that a generator is not appropriate.

Instead could it default to dist_gen.constant ?

For date columns when the source contains no data, currently we have to delete that row because no options are offered. (presumably because there is no null option for date). It would be good to solve that too but I can submit as separate issue.
e.g.
condition_occurrence,condition_start_date,generic.datetime.date

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions