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

Add column for Imported / Local transmission #47

Closed
thomasabbott opened this issue Mar 20, 2020 · 2 comments
Closed

Add column for Imported / Local transmission #47

thomasabbott opened this issue Mar 20, 2020 · 2 comments

Comments

@thomasabbott
Copy link

At least at this stage, one interesting thing about the SA data is how much local transmission there has been, compared to people arriving from abroad, already infected. I could try to parse the "transmission type" column.

Could you split the "transmission type" column in data/covid19za_timeline_confirmed.csv to be
a) imported/local/unknown
b) countries visited if imported

I'm happy to do the split and PR if this makes sense

For example,

case_id,date,YYYYMMDD,country,province,geo_subdivision,age,gender,transmission_type
1,05-03-2020,20200305,South Africa,KZN,ZA-KZN,38,male,imported,Italy
2,07-03-2020,20200307,South Africa,GP,ZA-GP,39,female,imported,Italy
13,11-03-2020,20200311,South Africa,WC,ZA-WC,36,male,imported, Germany; Austria; Switzerland 
168,20-03-2020,20200320,South Africa,GP,ZA-GP,47,female,imported,pending travel history
169,20-03-2020,20200320,South Africa,GP,ZA-GP,23,male,local,
@vukosim
Copy link
Member

vukosim commented Mar 20, 2020

There is already a csv file with the transmission types. It was seperate for another reason, but we may fuse it.

@thomasabbott
Copy link
Author

OK.
That file isn't in good shape, but fair enough to split it out if there'll be lots of countries like that.
I'm parsing the text, seems to work for now.

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