Skip to content

Error when ids in x don't match ids in y #58

@agassett

Description

@agassett

I had a dataset where there were some ID's in my exposure window data that didn't appear in the prediction data.

Error in setstate(x, statex):
all required_columns %in% names(x) is not TRUE
Error in setstate(y, statey):
all required_columns %in% names(x) is not TRUE

then when I checked head(y) I saw that the names of y had been changed to "intervalaverage_end_original_class_copy" and "intervalaverage_start_original_class_copy"

This needs a more informative error and ideally it wouldn't alter the data object that's being passed in.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions