Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Eduardo Morales committed Oct 26, 2020
1 parent 4840b98 commit 0e49568
Show file tree
Hide file tree
Showing 6 changed files with 117,086 additions and 0 deletions.
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",
"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"
}
]
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

0 comments on commit 0e49568

Please sign in to comment.