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

DB structure and Google Sheets disappeared #80

Open
alessandroNa opened this issue Feb 19, 2020 · 7 comments
Open

DB structure and Google Sheets disappeared #80

alessandroNa opened this issue Feb 19, 2020 · 7 comments

Comments

@alessandroNa
Copy link

@alessandroNa alessandroNa commented Feb 19, 2020

I think that, for subsequent and in-depth analysis, it is more convenient and efficient to have a file structure based on this way:

| Data | CountryRegion | ProvinceState | WHORegion | Type | NrType |

in the field Type must be indicated in the typeof data, that is confirmed, or deaths or recovered.

Is it possible to create a file like the one suggested on google sheets and accessible by the main business intelligence software? I use qliksense cloud.

@bjarkimg
Copy link

@bjarkimg bjarkimg commented Feb 19, 2020

But then we miss the fun and excitement of transpose and merge the data sets... 😄

@alessandroNa
Copy link
Author

@alessandroNa alessandroNa commented Feb 19, 2020

@bjarkimg it is true but this takes time away from the data analysis: P

@3verse
Copy link

@3verse 3verse commented Feb 19, 2020

hey @DataEnthusiast84 - I did something similar to expose as a tableau data connector:
CSV (merge of all daily reports + column for filename): http://35.211.243.122/pubdata/covid-19-all.csv
WDC for tableau (if you need): http://35.211.243.122/api/wdc/html/COVID-19_WDC.html

@alessandroNa
Copy link
Author

@alessandroNa alessandroNa commented Feb 19, 2020

@3verse thanks for sharing the data! I use Qlik Sense to analyse the set.
How did you get data merging?

@3verse
Copy link

@3verse 3verse commented Feb 20, 2020

Hi @DataEnthusiast84,
For this dataset I've set up a small cloud server instance to regularly pull updates from this repository. After pulling, a bash script triggers to merge all the CSVs from the daily report folder together into one file including an extra column for the file name (the cvs I linked earlier). I didn't bother removing the repeated header names from the CSV as this is done in the WDC stage, another script that parses the CSV and translates into a Tableau compatible format, also fixing the inconsistent double quotes with some province/region values.

I'm more than happy to share everything about this process if you need

@alessandroNa
Copy link
Author

@alessandroNa alessandroNa commented Feb 20, 2020

@3verse

I really thank you for the information.
I'm still at the beginning on github.
In another discussion I "pushed" to have a file organized according to DB (and not individual files) since Qlik allows me to connect to a file via a connector. In truth I still have problems on the connector too.

I'm working on the DB file ... maybe when I finish I share it here ... I also pointed out that there are discrepancies (at 19/2) on the number of deaths. The data shows 2007 while 2014 is reported on the dashboard.

Study in progress ..

@3verse
Copy link

@3verse 3verse commented Feb 20, 2020

Uhm I thought that was just due to the data on here not being promptly updated to what the dashboard is showing.

For reference, I'm looking at the following one for live updates:
https://gisanddata.maps.arcgis.com/apps/opsdashboard/index.html#/bda7594740fd40299423467b48e9ecf6

This is the viz I've built on Tableau Public based on the data my cronjob is pulling and merging regularly from this repo:
https://public.tableau.com/profile/salvatore1114#!/vizhome/wdctest/COVID-19StatusUpdate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants