Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ansufei opened this issue Mar 13, 2020 · 1 comment
Open

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

ansufei opened this issue Mar 13, 2020 · 1 comment

Comments

@ansufei
Copy link

ansufei commented Mar 13, 2020

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
@lenzai
Copy link
Member

lenzai commented Mar 13, 2020

with or without the query the result is the same.
it will skip the data for column T U V : i.e. region CAL SIC SAR
I restored the query

@lenzai lenzai removed their assignment Mar 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants