Skip to content

Standardize province Los Rios vs Region de Los Rios #3

Description

@joverlee521

In a meeting with the MicrobeTrace team, they flagged that they were unable to view the ANDV dataset in MicrobeTrace. I traced this back to the "Los Rios" province missing the lat/long entry causing an error in the MicrobeTrace parsing of the JSON. I've recommended that they update their parser to handle missing lat/longs, but this also prompted me to look into the ANDV dataset itself.

I was going to add a lat/long entry but realize "Los Rios" is the same as "Region de Los Rios" based on

# if curated region is 'los rios' set to 'region de los rios'
if curated_region.lower() == "los rios":
curated_region = "region de los rios"

The script only replaces the value if the original metadata has a null value, so since both values are coming from Pathoplexus, these are not getting standardized in the script.

Should this be fixed in the add_curated_metadata.py script or upstream in PPX?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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