Skip to content

query order results of unpivot doesn't work for Italy #2

@ansufei

Description

@ansufei

The unpivot works on its own (i.e. call =unpivot() directly as is done for Germany instead of =query(unpivot())) but if the columns are not sorted the trick used to calculate new cases doesn't work.
Note: this bug was tricky to find as when unpivot is called within the query, it doesn't generate an error but seems stuck in an old version of the query:

  • the range of columns to copy is stuck at A:S instead of A:V (i.e. skips 3 regions)
  • when cells contain numbers in parentheses they are not copied
    Note that the total number of cases for each province is provided in Wikipedia so we could collect this data instead of calculating total of the day before + new cases

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions