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

Indian Districts for COVID19 #328

Closed
wants to merge 25 commits into from
Closed
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
c8b4623
initial commit
Oct 26, 2020
6d2e3d8
Merge branch 'master' of https://github.com/datacommonsorg/data into …
Oct 26, 2020
5b8997d
adds import config
Oct 27, 2020
7b006c0
Merge branch 'master' of https://github.com/datacommonsorg/data into …
Nov 25, 2020
1fbe1eb
fixes to first review
Nov 25, 2020
490de4b
Merge branch 'master' of https://github.com/datacommonsorg/data into …
Dec 2, 2020
f116a94
separates main method into functions for testing and gets rid of stat…
Dec 2, 2020
a79fce9
Merge branch 'master' of https://github.com/datacommonsorg/data into …
Dec 2, 2020
7534f60
adds testing
Dec 2, 2020
9dbea8c
adds testing
Dec 2, 2020
61b82ca
minor updates to README
Dec 2, 2020
c05128e
Merge branch 'master' of https://github.com/datacommonsorg/data into …
Dec 4, 2020
458c066
adds script and minor changes
Dec 7, 2020
90be2c3
adds script and minor changes
Dec 7, 2020
a98cff7
minor
Dec 7, 2020
8293bca
minor
Dec 7, 2020
e591a3d
Merge branch 'covid19india' of github.com:edumorlom/data into covid19…
Dec 7, 2020
2497472
Merge branch 'master' into covid19india
Dec 16, 2020
8607ea6
Merge branch 'master' into covid19india
Dec 16, 2020
dd4d009
Merge branch 'master' of https://github.com/datacommonsorg/data into …
Dec 17, 2020
51d7774
Merge branch 'covid19india' of github.com:edumorlom/data into covid19…
Dec 17, 2020
055483f
minor updates
Dec 17, 2020
c2b03b8
Merge branch 'master' of https://github.com/datacommonsorg/data into …
Dec 18, 2020
ec4ef9e
mini upgrade
Dec 18, 2020
eeaa36a
Merge branch 'master' into covid19india
edumorlom Oct 18, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
177 changes: 177 additions & 0 deletions scripts/covid19indiaORG/Config.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,177 @@
state_apis = [
{
"Abbreviation": "WB",
"State": "West Bengal",
edumorlom marked this conversation as resolved.
Show resolved Hide resolved
"API": "https://api.covid19india.org/v4/min/timeseries-WB.min.json"
},
{
"Abbreviation": "UT",
"State": "Uttarakhaland",
"API": "https://api.covid19india.org/v4/min/timeseries-UT.min.json"
},
{
"Abbreviation": "UP",
"State": "Uttar Pradesh",
"API": "https://api.covid19india.org/v4/min/timeseries-UP.min.json"
},
{
"Abbreviation": "TR",
"State": "Tripura",
"API": "https://api.covid19india.org/v4/min/timeseries-TR.min.json"
},
{
"Abbreviation": "TG",
"State": "Telangana",
"API": "https://api.covid19india.org/v4/min/timeseries-TG.min.json"
},
{
"Abbreviation": "TN",
"State": "Tamil Nadu",
"API": "https://api.covid19india.org/v4/min/timeseries-TN.min.json"
},
{
"Abbreviation": "SK",
"State": "Skkim",
"API": "https://api.covid19india.org/v4/min/timeseries-SK.min.json"
},
{
"Abbreviation": "RJ",
"State": "Rajasthan",
"API": "https://api.covid19india.org/v4/min/timeseries-RJ.min.json"
},
{
"Abbreviation": "PB",
"State": "Punjab",
"API": "https://api.covid19india.org/v4/min/timeseries-PB.min.json"
},
{
"Abbreviation": "PY",
"State": "Puducherry",
"API": "https://api.covid19india.org/v4/min/timeseries-PY.min.json"
},
{
"Abbreviation": "OR",
"State": "Odisha",
"API": "https://api.covid19india.org/v4/min/timeseries-OR.min.json"
},
{
"Abbreviation": "NL",
"State": "Nagaland",
"API": "https://api.covid19india.org/v4/min/timeseries-NL.min.json"
},
{
"Abbreviation": "MZ",
"State": "Mizoram",
"API": "https://api.covid19india.org/v4/min/timeseries-MZ.min.json"
},
{
"Abbreviation": "ML",
"State": "Meghalaya",
"API": "https://api.covid19india.org/v4/min/timeseries-ML.min.json"
},
{
"Abbreviation": "MN",
"State": "Manipur",
"API": "https://api.covid19india.org/v4/min/timeseries-MN.min.json"
},
{
"Abbreviation": "MH",
"State": "Maharashtra",
"API": "https://api.covid19india.org/v4/min/timeseries-MH.min.json"
},
{
"Abbreviation": "MP",
"State": "Madhya Pradesh",
"API": "https://api.covid19india.org/v4/min/timeseries-MP.min.json"
},
{
"Abbreviation": "LA",
"State": "Ladakh",
"API": "https://api.covid19india.org/v4/min/timeseries-LA.min.json"
},
{
"Abbreviation": "KL",
"State": "Kerala",
"API": "https://api.covid19india.org/v4/min/timeseries-KL.min.json"
},
{
"Abbreviation": "KA",
"State": "Karnataka",
"API": "https://api.covid19india.org/v4/min/timeseries-KA.min.json"
},
{
"Abbreviation": "JH",
"State": "Jharkhand",
"API": "https://api.covid19india.org/v4/min/timeseries-JH.min.json"
},
{
"Abbreviation": "JK",
"State": "Jammy and Kashmir",
"API": "https://api.covid19india.org/v4/min/timeseries-JK.min.json"
},
{
"Abbreviation": "HP",
"State": "Himachal Pradesh",
"API": "https://api.covid19india.org/v4/min/timeseries-HP.min.json"
},
{
"Abbreviation": "HR",
"State": "Haryana",
"API": "https://api.covid19india.org/v4/min/timeseries-HR.min.json"
},
{
"Abbreviation": "GJ",
"State": "Gujarat",
"API": "https://api.covid19india.org/v4/min/timeseries-GJ.min.json"
},
{
"Abbreviation": "GA",
"State": "Goa",
"API": "https://api.covid19india.org/v4/min/timeseries-GA.min.json"
},
{
"Abbreviation": "DL",
"State": "Delhi",
"API": "https://api.covid19india.org/v4/min/timeseries-DL.min.json"
},
{
"Abbreviation": "DN",
"State": "Dadra and Nagar Haveli and Daman and Diu",
"API": "https://api.covid19india.org/v4/min/timeseries-DN.min.json"
},
{
"Abbreviation": "CT",
"State": "Chhattisarh",
"API": "https://api.covid19india.org/v4/min/timeseries-CT.min.json"
},
{
"Abbreviation": "CH",
"State": "Chandigarh",
"API": "https://api.covid19india.org/v4/min/timeseries-CH.min.json"
},
{
"Abbreviation": "BR",
"State": "Bihar",
"API": "https://api.covid19india.org/v4/min/timeseries-BR.min.json"
},
{
"Abbreviation": "AS",
"State": "Assam",
"API": "https://api.covid19india.org/v4/min/timeseries-AS.min.json"
},
{
"Abbreviation": "AR",
"State": "Arunachal Pradesh",
"API": "https://api.covid19india.org/v4/min/timeseries-AR.min.json"
},
{
"Abbreviation": "AP",
"State": "Andhra Pradesh",
"API": "https://api.covid19india.org/v4/min/timeseries-AP.min.json"
},
{
"Abbreviation": "AN",
"State": "Andaman and Nicobar Islands",
"API": "https://api.covid19india.org/v4/min/timeseries-AN.min.json"
}
]
edumorlom marked this conversation as resolved.
Show resolved Hide resolved
7 changes: 7 additions & 0 deletions scripts/covid19indiaORG/Covid19India.mcf
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Node: dcid:Count_MedicalConditionIncident_COVID_19_ConfirmedCase
typeOf: dcs:StatisticalVariable
populationType: dcs:MedicalConditionIncident
statType: dcs:measuredValue
measuredProperty: dcs:count
medicalStatus: dcs:ConfirmedCase
medicalCondition: dcs:COVID_19
35 changes: 35 additions & 0 deletions scripts/covid19indiaORG/Covid19India.tmcf
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
Node: E:COVID19IndiaORGTracking->E0
typeOf: schema:Place
wikidataId: C:COVID19IndiaORGTracking->wikidataId

Node:E:COVID19IndiaORGTracking->E1
typeOf: dcs:StatVarObservation
variableMeasured: dcs:CumulativeCount_MedicalConditionIncident_COVID_19_ConfirmedCase
observationAbout: E:COVID19IndiaORGTracking->E0
observationDate: C:COVID19IndiaORGTracking->date
value: C:COVID19IndiaORGTracking->confirmed
measurementMethod: dcs:COVID19IndiaORGTracking

Node:E:COVID19IndiaORGTracking->E2
typeOf: dcs:StatVarObservation
variableMeasured: dcs:Count_MedicalConditionIncident_COVID_19_ConfirmedCase
observationAbout: E:COVID19IndiaORGTracking->E0
observationDate: C:COVID19IndiaORGTracking->date
value: C:COVID19IndiaORGTracking->active
measurementMethod: dcs:COVID19IndiaORGTracking

Node:E:COVID19IndiaORGTracking->E3
typeOf: dcs:StatVarObservation
variableMeasured: dcs:CumulativeCount_MedicalConditionIncident_COVID_19_PatientRecovered
observationAbout: E:COVID19IndiaORGTracking->E0
observationDate: C:COVID19IndiaORGTracking->date
value: C:COVID19IndiaORGTracking->recovered
measurementMethod: dcs:COVID19IndiaORGTracking

Node:E:COVID19IndiaORGTracking->E4
typeOf: dcs:StatVarObservation
variableMeasured: dcs:CumulativeCount_MedicalConditionIncident_COVID_19_PatientDeceased
observationAbout: E:COVID19IndiaORGTracking->E0
observationDate: C:COVID19IndiaORGTracking->date
value: C:COVID19IndiaORGTracking->deceased
measurementMethod: dcs:COVID19IndiaORGTracking
Loading