Skip to content

Conjure traits do not match codebook when survey responses not identical to questions/codebook #9

@rbyh

Description

@rbyh

Steps to reproduce:

  1. Create Conjure object by passing a file of survey responses together with (focal) questions and codebook. The responses include columns not present in the questions/codebook, but the questions/codebook have identical keys.
  2. Create AgentList: the codebook is correct but the traits include some columns not in the codebook.

Notebook demonstrating this behavior: https://chick.expectedparrot.com/content/b7128fd4-96aa-4496-ae79-9d60aa8abedd

image

Desired behavior: If I manually pass questions, question types and answer codebook with survey responses, Conjure should:

  1. Show an informative warning message if the keys do not match across all data -- responses and also the questions/codebook.
  2. Only conjure the columns that match across all files (i.e., drop columns in survey responses that are not in questions/codebook, and ignore questions that are not actually in the responses).

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