diff --git a/assets/extra-libs/landing/filter.js b/assets/extra-libs/landing/filter.js
index 7b05395..b1a84f4 100755
--- a/assets/extra-libs/landing/filter.js
+++ b/assets/extra-libs/landing/filter.js
@@ -17,14 +17,14 @@ function filterMain(countyid, subcountyid, periodid) {
//load the mos by commodity
// var url = 'https://testhis.uonbi.ac.ke/api/29/analytics.json?dimension=dx:zLR3PBVPgN5;bJILAolJsSJ;jtGNoWcdNcx;p2aNqT2HVyr;Y4O2r9a9QRQ;DUnK0MqACvs;goYRWZ7kJAA;R4VD8EvRxyN&dimension=ou:' + countyid + '&filter=pe:' + periodid + '&displayProperty=NAME&outputIdScheme=UID`;
- var url = `https://hiskenya.org/api/26/analytics.json?dimension=pe:'+periodid+'&dimension=dx:HfGVoCZAwtd;nK8sqMAeQHY;ZcngDQJKiEg;wOKbEd8Dbi3;lHPLS1G5CUc;SSARcWY2Ge1;AX1co0SXobM;UUNwkYQhYgX&dimension=ou:'+countyid+'&displayProperty=NAME&outputIdScheme=UID`;
+ var url = `https://hiskenya.org/api/analytics.json?dimension=pe:'+periodid+'&dimension=dx:HfGVoCZAwtd;nK8sqMAeQHY;ZcngDQJKiEg;wOKbEd8Dbi3;lHPLS1G5CUc;SSARcWY2Ge1;AX1co0SXobM;UUNwkYQhYgX&dimension=ou:'+countyid+'&displayProperty=NAME&outputIdScheme=UID`;
fetchMosbycombox(url);
//% of health facilities
// var urlfa = 'https://testhis.uonbi.ac.ke/api/29/analytics.json?dimension=dx:zLR3PBVPgN5;bJILAolJsSJ;jtGNoWcdNcx;p2aNqT2HVyr;DUnK0MqACvs;goYRWZ7kJAA;R4VD8EvRxyN&dimension=ou:' + countyid + ';LEVEL-5&filter=pe:' + periodid + '&displayProperty=NAME&outputIdScheme=UID`;
- var urlfa = `https://hiskenya.org/api/26/analytics.json?dimension=dx:HfGVoCZAwtd;nK8sqMAeQHY;ZcngDQJKiEg;wOKbEd8Dbi3;SSARcWY2Ge1;AX1co0SXobM;UUNwkYQhYgX&dimension=ou:'+countyid+';LEVEL-5&filter=pe:'+periodid+'&displayProperty=NAME&outputIdScheme=UID`;
+ var urlfa = `https://hiskenya.org/api/analytics.json?dimension=dx:HfGVoCZAwtd;nK8sqMAeQHY;ZcngDQJKiEg;wOKbEd8Dbi3;SSARcWY2Ge1;AX1co0SXobM;UUNwkYQhYgX&dimension=ou:'+countyid+';LEVEL-5&filter=pe:'+periodid+'&displayProperty=NAME&outputIdScheme=UID`;
//define the name holder
var itemnames = ["AL6", "AL12", "AL18", "AL24", "AS inj", "SP tabs", "RDTs"];
@@ -39,11 +39,11 @@ function filterMain(countyid, subcountyid, periodid) {
//adjc FA
// var urlcon = 'https://testhis.uonbi.ac.ke/api/29/analytics.json?dimension=dx:Wg31yLDAehm;CK20eip3oTe;BiwM8SUgpJ1;KLoeF6isJCz;jwofVi31cHY;nvJsVaN8FOB;f5mBCkj0aSu;Vw7Yg5sKLkW&dimension=ou:' + countyid + '&filter=pe:' + periodid + '&displayProperty=NAME&outputIdScheme=UID`;
- var urlcon = `https://hiskenya.org/api/26/analytics.json?dimension=pe:'+periodid+'&dimension=dx:HfGVoCZAwtd;nK8sqMAeQHY;ZcngDQJKiEg;wOKbEd8Dbi3;lHPLS1G5CUc;SSARcWY2Ge1;AX1co0SXobM;UUNwkYQhYgX;BnGDrFwyQp9.rPAsF4cpNxm;c0MB4RmVjxk.rPAsF4cpNxm;qnZmg5tNSMy.rPAsF4cpNxm;gVp1KSFI69G.rPAsF4cpNxm;Mmy9MoUdbhZ;iOARK31NdLp.rPAsF4cpNxm;imheYfA1Kiw.rPAsF4cpNxm;cPlWFYbBacW.rPAsF4cpNxm;jfUzb86mBSP.miM6uIJ2cWx;HwvUHnslwbh.miM6uIJ2cWx;OLYLVMDHEj8.miM6uIJ2cWx;UJeKVZzAnfS.miM6uIJ2cWx;fiVSJyM5cDs;naztfZrbMtd.miM6uIJ2cWx;EtG9ozt2joA.miM6uIJ2cWx;Umi8ZsiqBHw.miM6uIJ2cWx&dimension=ou:'+countyid+'&displayProperty=NAME&outputIdScheme=UID`;
+ var urlcon = `https://hiskenya.org/api/analytics.json?dimension=pe:'+periodid+'&dimension=dx:HfGVoCZAwtd;nK8sqMAeQHY;ZcngDQJKiEg;wOKbEd8Dbi3;lHPLS1G5CUc;SSARcWY2Ge1;AX1co0SXobM;UUNwkYQhYgX;BnGDrFwyQp9.rPAsF4cpNxm;c0MB4RmVjxk.rPAsF4cpNxm;qnZmg5tNSMy.rPAsF4cpNxm;gVp1KSFI69G.rPAsF4cpNxm;Mmy9MoUdbhZ;iOARK31NdLp.rPAsF4cpNxm;imheYfA1Kiw.rPAsF4cpNxm;cPlWFYbBacW.rPAsF4cpNxm;jfUzb86mBSP.miM6uIJ2cWx;HwvUHnslwbh.miM6uIJ2cWx;OLYLVMDHEj8.miM6uIJ2cWx;UJeKVZzAnfS.miM6uIJ2cWx;fiVSJyM5cDs;naztfZrbMtd.miM6uIJ2cWx;EtG9ozt2joA.miM6uIJ2cWx;Umi8ZsiqBHw.miM6uIJ2cWx&dimension=ou:'+countyid+'&displayProperty=NAME&outputIdScheme=UID`;
//physical count/SOH
// var urlphy = 'https://testhis.uonbi.ac.ke/api/29/analytics.json?dimension=dx:BnGDrFwyQp9.rPAsF4cpNxm;c0MB4RmVjxk.rPAsF4cpNxm;qnZmg5tNSMy.rPAsF4cpNxm;gVp1KSFI69G.rPAsF4cpNxm;MUxtqmB3VL6;iOARK31NdLp.rPAsF4cpNxm;imheYfA1Kiw.rPAsF4cpNxm;cPlWFYbBacW.rPAsF4cpNxm&dimension=ou:' + countyid + '&filter=pe:' + periodid + '&displayProperty=NAME&outputIdScheme=UID`;
- var urlphy = `https://hiskenya.org/api/26/analytics.json?dimension=dx:BnGDrFwyQp9.rPAsF4cpNxm;c0MB4RmVjxk.rPAsF4cpNxm;qnZmg5tNSMy.rPAsF4cpNxm;gVp1KSFI69G.rPAsF4cpNxm;Mmy9MoUdbhZ;iOARK31NdLp.rPAsF4cpNxm;imheYfA1Kiw.rPAsF4cpNxm;eFqDcjgvt39.ZxUQw1ay1cw&dimension=pe:'+periodid+'&filter=ou:'+countyid+'&displayProperty=NAME&outputIdScheme=UID`;
+ var urlphy = `https://hiskenya.org/api/analytics.json?dimension=dx:BnGDrFwyQp9.rPAsF4cpNxm;c0MB4RmVjxk.rPAsF4cpNxm;qnZmg5tNSMy.rPAsF4cpNxm;gVp1KSFI69G.rPAsF4cpNxm;Mmy9MoUdbhZ;iOARK31NdLp.rPAsF4cpNxm;imheYfA1Kiw.rPAsF4cpNxm;eFqDcjgvt39.ZxUQw1ay1cw&dimension=pe:'+periodid+'&filter=ou:'+countyid+'&displayProperty=NAME&outputIdScheme=UID`;
//get the physical count into an array
var sohval = [];
diff --git a/html/childHealth.html b/html/childHealth.html
index b185fa4..55b443a 100755
--- a/html/childHealth.html
+++ b/html/childHealth.html
@@ -234,7 +234,7 @@
Change in DPT3 doses administered - All counties
let lvl = "2"
if(ouFilterType == "county"){ lvl = "3" } else if(ouFilterType == "subcounty"){ lvl = "4" }else{ lvl = "2" }
// $.getJSON("../assets/json/rmncah/skilled_deliveries.json", function (data, textStatus, jqXHR) {
- justFetch(`https://hiskenya.org/api/26/analytics.json?dimension=dx:fzQbGiENdJo&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {})
+ justFetch(`https://hiskenya.org/api/analytics.json?dimension=dx:fzQbGiENdJo&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {})
.then(response=>{
@@ -288,7 +288,7 @@ Change in DPT3 doses administered - All counties
// $.getJSON("../assets/json/rmncah/adolesent_among_anc_clients.json", function (data, textStatus, jqXHR) {
- justFetch(`https://hiskenya.org/api/26/analytics.json?dimension=dx:Cblp7TAdj9W&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {})
+ justFetch(`https://hiskenya.org/api/analytics.json?dimension=dx:Cblp7TAdj9W&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {})
.then(response=>{
let data = [['Months', "Values"]]
@@ -348,7 +348,7 @@ Change in DPT3 doses administered - All counties
const plotBar = (last_per, this_per) => {
$('#ldng').html(loading_svg_small)
- justFetch(`https://hiskenya.org/api/26/analytics.json?dimension=dx:Cblp7TAdj9W&dimension=pe:${last_per};${this_per}&dimension=ou:LEVEL-${lvl};${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {'showLoading':'false'})
+ justFetch(`https://hiskenya.org/api/analytics.json?dimension=dx:Cblp7TAdj9W&dimension=pe:${last_per};${this_per}&dimension=ou:LEVEL-${lvl};${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {'showLoading':'false'})
.then(response=>{
let data = [['County', "Values"]]
response.metaData.dimensions.ou.map(o_ou=>{
diff --git a/html/communicable-hiv.html b/html/communicable-hiv.html
index 325a31a..1a892be 100755
--- a/html/communicable-hiv.html
+++ b/html/communicable-hiv.html
@@ -269,7 +269,7 @@ Change in PLWHIV on ART by county
let ouFilterType = window.sessionStorage.getItem("ouFilterType") || "national"
let lvl = "2"
if(ouFilterType == "county"){ lvl = "3" } else if(ouFilterType == "subcounty"){ lvl = "4" }else{ lvl = "2" }
- justFetch(`https://hiskenya.org/api/26/analytics.json?dimension=dx:nVx4FiV8hXq&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {})
+ justFetch(`https://hiskenya.org/api/analytics.json?dimension=dx:nVx4FiV8hXq&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {})
.then(response=>{
let data = [['Period', "Value"]]
response.metaData.dimensions.pe.map(o_pe=>{
@@ -302,7 +302,7 @@ Change in PLWHIV on ART by county
});
- justFetch(`https://hiskenya.org/api/26/analytics.json?dimension=dx:xfdnpoNEkKG&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {})
+ justFetch(`https://hiskenya.org/api/analytics.json?dimension=dx:xfdnpoNEkKG&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {})
.then(response=>{
let data = [['Period', "Value"]]
response.metaData.dimensions.pe.map(o_pe=>{
@@ -352,7 +352,7 @@ Change in PLWHIV on ART by county
});
- justFetch(`https://hiskenya.org/api/26/analytics.json?dimension=dx:RsGHNwSlhrR&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {})
+ justFetch(`https://hiskenya.org/api/analytics.json?dimension=dx:RsGHNwSlhrR&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {})
.then(response=>{
let data = [['Period', "Value"]]
response.metaData.dimensions.pe.map(o_pe=>{
@@ -402,7 +402,7 @@ Change in PLWHIV on ART by county
});
- justFetch(`https://hiskenya.org/api/26/analytics.json?dimension=dx:BmWlyhX3ERL&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {})
+ justFetch(`https://hiskenya.org/api/analytics.json?dimension=dx:BmWlyhX3ERL&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {})
.then(response=>{
let data = [['Period', "Value"]]
response.metaData.dimensions.pe.map(o_pe=>{
@@ -437,7 +437,7 @@ Change in PLWHIV on ART by county
});
- justFetch(`https://hiskenya.org/api/26/analytics.json?dimension=dx:nVx4FiV8hXq&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`,{})
+ justFetch(`https://hiskenya.org/api/analytics.json?dimension=dx:nVx4FiV8hXq&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`,{})
.then(response=>{
let data = [['Period', "Value"]]
response.metaData.dimensions.pe.map(o_pe=>{
@@ -483,7 +483,7 @@ Change in PLWHIV on ART by county
const plotBar = (last_per, this_per) => {
$('#ldng').html(loading_svg_small)
- justFetch(`https://hiskenya.org/api/26/analytics.json?dimension=dx:nVx4FiV8hXq&dimension=pe:${last_per};${this_per}&dimension=ou:LEVEL-${lvl};${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {'showLoading':'false'})
+ justFetch(`https://hiskenya.org/api/analytics.json?dimension=dx:nVx4FiV8hXq&dimension=pe:${last_per};${this_per}&dimension=ou:LEVEL-${lvl};${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {'showLoading':'false'})
.then(response=>{
let data = [['County', "Values"]]
response.metaData.dimensions.ou.map(o_ou=>{
diff --git a/html/communicable-malaria.html b/html/communicable-malaria.html
index 43391fa..4b6dc84 100755
--- a/html/communicable-malaria.html
+++ b/html/communicable-malaria.html
@@ -220,10 +220,10 @@ Change in confirmed malaria cases by County
let prd_wk_pre = prd_wk.split('2020W42;')[0]+'2020W42;'
let dx_post2020rev = 'q3zSDDKBjqL'
let prd_wk_post2020_rev = prd_wk.split('2020W42;')[1]
- justFetch(`https://hiskenya.org/api/26/analytics.json?dimension=dx:${dx_pre}&dimension=pe:${prd_wk_pre}&dimension=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`,{})
+ justFetch(`https://hiskenya.org/api/analytics.json?dimension=dx:${dx_pre}&dimension=pe:${prd_wk_pre}&dimension=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`,{})
.then(reply=>{
let response = reply
- justFetch(`https://hiskenya.org/api/26/analytics.json?dimension=dx:${dx_post2020rev}&dimension=pe:${prd_wk_post2020_rev}&dimension=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`,{showLoading: 'false'})
+ justFetch(`https://hiskenya.org/api/analytics.json?dimension=dx:${dx_post2020rev}&dimension=pe:${prd_wk_post2020_rev}&dimension=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`,{showLoading: 'false'})
.then(reply2=>{
Object.keys(reply2.metaData.items).map(tr=>{
if(!Object.keys(response.metaData.items).includes(tr)){
@@ -291,7 +291,7 @@ Change in confirmed malaria cases by County
- justFetch(`https://hiskenya.org/api/26/analytics.json?dimension=dx:ssmk1hgU4ok&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`,{})
+ justFetch(`https://hiskenya.org/api/analytics.json?dimension=dx:ssmk1hgU4ok&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`,{})
.then(response=>{
let data = [['Period', "Cases"]]
response.metaData.dimensions.pe.map(o_pe=>{
@@ -335,7 +335,7 @@ Change in confirmed malaria cases by County
const plotBar = (last_per, this_per) => {
$('#ldng').html(loading_svg_small)
- justFetch(`https://hiskenya.org/api/26/analytics.json?dimension=dx:ssmk1hgU4ok&dimension=pe:${last_per};${this_per}&dimension=ou:LEVEL-${lvl};${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {'showLoading':'false'})
+ justFetch(`https://hiskenya.org/api/analytics.json?dimension=dx:ssmk1hgU4ok&dimension=pe:${last_per};${this_per}&dimension=ou:LEVEL-${lvl};${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {'showLoading':'false'})
.then(response=>{
let data = [['County', "Values"]]
response.metaData.dimensions.ou.map(o_ou=>{
diff --git a/html/communicable-tb.html b/html/communicable-tb.html
index 04cdadf..a382d08 100755
--- a/html/communicable-tb.html
+++ b/html/communicable-tb.html
@@ -210,7 +210,7 @@ Comparison of TB Case Finding for April- June in 2019 and 2020
const plotBar = (last_per, this_per) => {
$('#ldng').html(loading_svg_small)
- justFetch(`https://hiskenya.org/api/26/analytics.json?dimension=dx:OVMhCuFXB7s&dimension=pe:${last_per};${this_per}&dimension=ou:LEVEL-${lvl};${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {'showLoading':'false'})
+ justFetch(`https://hiskenya.org/api/analytics.json?dimension=dx:OVMhCuFXB7s&dimension=pe:${last_per};${this_per}&dimension=ou:LEVEL-${lvl};${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {'showLoading':'false'})
.then(response=>{
let data = [['County', "Values"]]
response.metaData.dimensions.ou.map(o_ou=>{
diff --git a/html/hsu.html b/html/hsu.html
index ef82d47..75a87bf 100755
--- a/html/hsu.html
+++ b/html/hsu.html
@@ -273,7 +273,7 @@ % difference in bed occupancy by county
if(prop && prop.pe_to){
prd = getPeriodBtwnYears(prop.pe, prop.pe_to, 'months')
}
- justFetch(`https://hiskenya.org/api/26/analytics.json?dimension=dx:Rsus0ojKqPe&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {})
+ justFetch(`https://hiskenya.org/api/analytics.json?dimension=dx:Rsus0ojKqPe&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {})
.then(response=>{
let data = [['Period', "OPD Visits"]]
response.metaData.dimensions.pe.map(o_pe=>{
@@ -330,7 +330,7 @@ % difference in bed occupancy by county
// $.getJSON("../assets/json/essential/opd-visits-children-under5.json", function (data, textStatus, jqXHR) {
- justFetch(`https://hiskenya.org/api/26/analytics.json?dimension=dx:r7WOa2TrWSr&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {})
+ justFetch(`https://hiskenya.org/api/analytics.json?dimension=dx:r7WOa2TrWSr&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {})
.then(response=>{
let data = [['Period', "Value"]]
response.metaData.dimensions.pe.map(o_pe=>{
@@ -391,7 +391,7 @@ % difference in bed occupancy by county
const plotBar = (last_per, this_per) => {
$('#ldng').html(loading_svg_small)
- justFetch(`https://hiskenya.org/api/26/analytics.json?dimension=dx:r7WOa2TrWSr&dimension=pe:${last_per};${this_per}&dimension=ou:LEVEL-${lvl};${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {'showLoading':'false'})
+ justFetch(`https://hiskenya.org/api/analytics.json?dimension=dx:r7WOa2TrWSr&dimension=pe:${last_per};${this_per}&dimension=ou:LEVEL-${lvl};${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {'showLoading':'false'})
.then(response=>{
let data = [['County', "Values"]]
response.metaData.dimensions.ou.map(o_ou=>{
@@ -445,7 +445,7 @@ % difference in bed occupancy by county
- justFetch(`https://hiskenya.org/api/26/analytics.json?dimension=dx:MRllWHKmVua&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {})
+ justFetch(`https://hiskenya.org/api/analytics.json?dimension=dx:MRllWHKmVua&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {})
.then(response=>{
let data = [['Period', "Value"]]
response.metaData.dimensions.pe.map(o_pe=>{
@@ -505,7 +505,7 @@ % difference in bed occupancy by county
const plotBarBed = (last_per, this_per) => {
$('#ldng').html(loading_svg_small)
- justFetch(`https://hiskenya.org/api/26/analytics.json?dimension=dx:MRllWHKmVua&dimension=pe:${last_per};${this_per}&dimension=ou:LEVEL-${lvl};${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {'showLoading':'false'})
+ justFetch(`https://hiskenya.org/api/analytics.json?dimension=dx:MRllWHKmVua&dimension=pe:${last_per};${this_per}&dimension=ou:LEVEL-${lvl};${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {'showLoading':'false'})
.then(response=>{
let data = [['County', "Values"]]
response.metaData.dimensions.ou.map(o_ou=>{
diff --git a/html/index.html b/html/index.html
index f69e541..aac0ee5 100755
--- a/html/index.html
+++ b/html/index.html
@@ -466,7 +466,7 @@ 393,
- justFetch(`https://hiskenya.org/api/26/analytics.json?dimension=dx:Rsus0ojKqPe&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {})
+ justFetch(`https://hiskenya.org/api/analytics.json?dimension=dx:Rsus0ojKqPe&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {})
.then(response=>{
let data = [['Period', "OPD Visits"]]
response.metaData.dimensions.pe.map(o_pe=>{
@@ -501,7 +501,7 @@ 393,
- justFetch(`https://hiskenya.org/api/26/analytics.json?dimension=dx:Cblp7TAdj9W&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {})
+ justFetch(`https://hiskenya.org/api/analytics.json?dimension=dx:Cblp7TAdj9W&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {})
.then(response=>{
let data = [['Months', "Values"]]
@@ -536,7 +536,7 @@ 393,
- justFetch(`https://hiskenya.org/api/26/analytics.json?dimension=dx:D0dZJRB71Sn&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {})
+ justFetch(`https://hiskenya.org/api/analytics.json?dimension=dx:D0dZJRB71Sn&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {})
.then(response=>{
let data = [['Period', "Trends in Child Welfare Clinic (CWC) Attendance"]]
response.metaData.dimensions.pe.map(o_pe=>{
@@ -571,7 +571,7 @@ 393,
- justFetch(`https://hiskenya.org/api/26/analytics.json?dimension=dx:soUwg5kvxKs&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {})
+ justFetch(`https://hiskenya.org/api/analytics.json?dimension=dx:soUwg5kvxKs&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {})
.then(response=>{
let data = [['Months', "Values"]]
response.metaData.dimensions.pe.map(o_pe=>{
@@ -605,7 +605,7 @@ 393,
- justFetch(`https://hiskenya.org/api/26/analytics.json?dimension=dx:s2rzbCX6URx&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {})
+ justFetch(`https://hiskenya.org/api/analytics.json?dimension=dx:s2rzbCX6URx&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {})
.then(response=>{
let data = [['Months', "Values"]]
response.metaData.dimensions.pe.map(o_pe=>{
@@ -639,7 +639,7 @@ 393,
- justFetch(`https://hiskenya.org/api/26/analytics.json?dimension=dx:nVx4FiV8hXq&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {})
+ justFetch(`https://hiskenya.org/api/analytics.json?dimension=dx:nVx4FiV8hXq&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {})
.then(response=>{
let data = [['Months', "Values"]]
response.metaData.dimensions.pe.map(o_pe=>{
@@ -673,7 +673,7 @@ 393,
- justFetch(`https://hiskenya.org/api/26/analytics.json?dimension=dx:OVMhCuFXB7s&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {})
+ justFetch(`https://hiskenya.org/api/analytics.json?dimension=dx:OVMhCuFXB7s&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {})
.then(response=>{
let data = [['Months', "Values"]]
response.metaData.dimensions.pe.map(o_pe=>{
@@ -709,7 +709,7 @@ 393,
- justFetch(`https://hiskenya.org/api/26/analytics.json?dimension=dx:ssmk1hgU4ok&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {})
+ justFetch(`https://hiskenya.org/api/analytics.json?dimension=dx:ssmk1hgU4ok&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {})
.then(response=>{
let data = [['Months', "Values"]]
response.metaData.dimensions.pe.map(o_pe=>{
@@ -745,7 +745,7 @@ 393,
- justFetch(`https://hiskenya.org/api/26/analytics.json?dimension=dx:irhPm0DFjV5&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {})
+ justFetch(`https://hiskenya.org/api/analytics.json?dimension=dx:irhPm0DFjV5&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {})
.then(response=>{
let data = [['Months', "Values"]]
response.metaData.dimensions.pe.map(o_pe=>{
@@ -780,7 +780,7 @@ 393,
- justFetch(`https://hiskenya.org/api/26/analytics.json?dimension=dx:A9KOgWrbCCY&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {})
+ justFetch(`https://hiskenya.org/api/analytics.json?dimension=dx:A9KOgWrbCCY&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {})
.then(response=>{
let data = [['Months', "Values"]]
response.metaData.dimensions.pe.map(o_pe=>{
@@ -815,7 +815,7 @@ 393,
- justFetch(`https://hiskenya.org/api/26/analytics.json?dimension=dx:MsSSJrdOw0a&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {})
+ justFetch(`https://hiskenya.org/api/analytics.json?dimension=dx:MsSSJrdOw0a&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {})
.then(response=>{
let data = [['Months', "Values"]]
response.metaData.dimensions.pe.map(o_pe=>{
@@ -850,7 +850,7 @@ 393,
- justFetch(`https://hiskenya.org/api/26/analytics.json?dimension=dx:Mg8KT0bPzOu&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {})
+ justFetch(`https://hiskenya.org/api/analytics.json?dimension=dx:Mg8KT0bPzOu&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {})
.then(response=>{
let data = [['Months', "Values"]]
response.metaData.dimensions.pe.map(o_pe=>{
diff --git a/html/non-communicable-cancer.html b/html/non-communicable-cancer.html
index 49b108c..80dcdd5 100755
--- a/html/non-communicable-cancer.html
+++ b/html/non-communicable-cancer.html
@@ -216,7 +216,7 @@ Utilization of Chemotherapy Centre by Cancer Patients
let ouFilterType = window.sessionStorage.getItem("ouFilterType") || "national"
let lvl = "2"
if(ouFilterType == "county"){ lvl = "3" } else if(ouFilterType == "subcounty"){ lvl = "4" }else{ lvl = "2" }
- justFetch(`https://hiskenya.org/api/26/analytics.json?dimension=dx:irhPm0DFjV5&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {})
+ justFetch(`https://hiskenya.org/api/analytics.json?dimension=dx:irhPm0DFjV5&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {})
.then(response=>{
let data = [['Period', "Value"]]
response.metaData.dimensions.pe.map(o_pe=>{
@@ -244,7 +244,7 @@ Utilization of Chemotherapy Centre by Cancer Patients
});
- justFetch(`https://hiskenya.org/api/26/analytics.json?dimension=dx:C6fThjYiDZA&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {})
+ justFetch(`https://hiskenya.org/api/analytics.json?dimension=dx:C6fThjYiDZA&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {})
.then(response=>{
let data = [['Period', "Value"]]
response.metaData.dimensions.pe.map(o_pe=>{
@@ -287,7 +287,7 @@ Utilization of Chemotherapy Centre by Cancer Patients
const plotBar = (last_per, this_per) => {
$('#ldng').html(loading_svg_small)
- justFetch(`https://hiskenya.org/api/26/analytics.json?dimension=dx:irhPm0DFjV5&dimension=pe:${last_per};${this_per}&dimension=ou:LEVEL-${lvl};${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {'showLoading':'false'})
+ justFetch(`https://hiskenya.org/api/analytics.json?dimension=dx:irhPm0DFjV5&dimension=pe:${last_per};${this_per}&dimension=ou:LEVEL-${lvl};${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {'showLoading':'false'})
.then(response=>{
let data = [['County', "Values"]]
response.metaData.dimensions.ou.map(o_ou=>{
diff --git a/html/non-communicable-diabetes.html b/html/non-communicable-diabetes.html
index 1b49617..62e2481 100755
--- a/html/non-communicable-diabetes.html
+++ b/html/non-communicable-diabetes.html
@@ -219,7 +219,7 @@ Total number of diabetes cases
let ouFilterType = window.sessionStorage.getItem("ouFilterType") || "national"
let lvl = "2"
if(ouFilterType == "county"){ lvl = "3" } else if(ouFilterType == "subcounty"){ lvl = "4" }else{ lvl = "2" }
- justFetch(`https://hiskenya.org/api/26/analytics.json?dimension=dx:i37mflclEU6;A9KOgWrbCCY&dimension=pe:${prd}&dimension=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`,{})
+ justFetch(`https://hiskenya.org/api/analytics.json?dimension=dx:i37mflclEU6;A9KOgWrbCCY&dimension=pe:${prd}&dimension=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`,{})
.then(response=>{
let data = [['Period', "Cases"]]
let data_totalcases = [['Period', "Cases"]]
@@ -331,7 +331,7 @@ Total number of diabetes cases
const plotBar = (last_per, this_per) => {
$('#ldng').html(loading_svg_small)
- justFetch(`https://hiskenya.org/api/26/analytics.json?dimension=dx:i37mflclEU6&dimension=pe:${last_per};${this_per}&dimension=ou:LEVEL-${lvl};${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {'showLoading':'false'})
+ justFetch(`https://hiskenya.org/api/analytics.json?dimension=dx:i37mflclEU6&dimension=pe:${last_per};${this_per}&dimension=ou:LEVEL-${lvl};${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {'showLoading':'false'})
.then(response=>{
let data = [['County', "Values"]]
response.metaData.dimensions.ou.map(o_ou=>{
diff --git a/html/non-communicable-hypertension.html b/html/non-communicable-hypertension.html
index 1b02cc9..6b6848d 100755
--- a/html/non-communicable-hypertension.html
+++ b/html/non-communicable-hypertension.html
@@ -223,7 +223,7 @@ Total number of hypertension cases
let ouFilterType = window.sessionStorage.getItem("ouFilterType") || "national"
let lvl = "2"
if(ouFilterType == "county"){ lvl = "3" } else if(ouFilterType == "subcounty"){ lvl = "4" }else{ lvl = "2" }
- justFetch(`https://hiskenya.org/api/26/analytics.json?dimension=dx:hNyiGOxeAE0;MsSSJrdOw0a&dimension=pe:${prd}&dimension=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`,{})
+ justFetch(`https://hiskenya.org/api/analytics.json?dimension=dx:hNyiGOxeAE0;MsSSJrdOw0a&dimension=pe:${prd}&dimension=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`,{})
.then(response=>{
let data = [['Period', "Cases"]]
let data_totalcases = [['Period', "Cases"]]
@@ -335,7 +335,7 @@ Total number of hypertension cases
const plotBar = (last_per, this_per) => {
$('#ldng').html(loading_svg_small)
- justFetch(`https://hiskenya.org/api/26/analytics.json?dimension=dx:hNyiGOxeAE0&dimension=pe:${last_per};${this_per}&dimension=ou:LEVEL-${lvl};${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {'showLoading':'false'})
+ justFetch(`https://hiskenya.org/api/analytics.json?dimension=dx:hNyiGOxeAE0&dimension=pe:${last_per};${this_per}&dimension=ou:LEVEL-${lvl};${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {'showLoading':'false'})
.then(response=>{
let data = [['County', "Values"]]
response.metaData.dimensions.ou.map(o_ou=>{
diff --git a/html/non-communicable-kidney.html b/html/non-communicable-kidney.html
index 78d0960..4cc2553 100755
--- a/html/non-communicable-kidney.html
+++ b/html/non-communicable-kidney.html
@@ -184,7 +184,7 @@ Number of kidney complications nationally
let ouFilterType = window.sessionStorage.getItem("ouFilterType") || "national"
let lvl = "2"
if(ouFilterType == "county"){ lvl = "3" } else if(ouFilterType == "subcounty"){ lvl = "4" }else{ lvl = "2" }
- justFetch(`https://hiskenya.org/api/26/analytics.json?dimension=dx:qNqKmxk27MU&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {})
+ justFetch(`https://hiskenya.org/api/analytics.json?dimension=dx:qNqKmxk27MU&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {})
.then(response=>{
let data = [['Period', "Value"]]
response.metaData.dimensions.pe.map(o_pe=>{
diff --git a/html/rmncah-adole-rh.html b/html/rmncah-adole-rh.html
index 65ca32a..8e0e1de 100755
--- a/html/rmncah-adole-rh.html
+++ b/html/rmncah-adole-rh.html
@@ -213,7 +213,7 @@ % Proportion of adolesent pregnancy among ANC clients ove
let ouFilterType = window.sessionStorage.getItem("ouFilterType") || "national"
let lvl = "2"
if(ouFilterType == "county"){ lvl = "3" } else if(ouFilterType == "subcounty"){ lvl = "4" }else{ lvl = "2" }
- justFetch(`https://hiskenya.org/api/26/analytics.json?dimension=dx:mNYjNlj6kgW&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {})
+ justFetch(`https://hiskenya.org/api/analytics.json?dimension=dx:mNYjNlj6kgW&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {})
.then(response=>{
let data = [['Months', "Values"]]
@@ -274,7 +274,7 @@ % Proportion of adolesent pregnancy among ANC clients ove
const plotBar = (last_per, this_per) => {
$('#ldng').html(loading_svg_small)
- justFetch(`https://hiskenya.org/api/26/analytics.json?dimension=dx:mNYjNlj6kgW&dimension=pe:${last_per};${this_per}&dimension=ou:LEVEL-${lvl};${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {'showLoading':'false'})
+ justFetch(`https://hiskenya.org/api/analytics.json?dimension=dx:mNYjNlj6kgW&dimension=pe:${last_per};${this_per}&dimension=ou:LEVEL-${lvl};${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {'showLoading':'false'})
.then(response=>{
let data = [['County', "Values"]]
response.metaData.dimensions.ou.map(o_ou=>{
diff --git a/html/rmncah-anc1.html b/html/rmncah-anc1.html
index 707e876..02daa5b 100755
--- a/html/rmncah-anc1.html
+++ b/html/rmncah-anc1.html
@@ -215,7 +215,7 @@ % Change in antenatal care first visit per county
let lvl = "2"
if(ouFilterType == "county"){ lvl = "3" } else if(ouFilterType == "subcounty"){ lvl = "4" }else{ lvl = "2" }
// $.getJSON("../assets/json/rmncah/anc_attendance.json", function (data, textStatus, jqXHR) {
- justFetch(`https://hiskenya.org/api/26/analytics.json?dimension=dx:soUwg5kvxKs&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {})
+ justFetch(`https://hiskenya.org/api/analytics.json?dimension=dx:soUwg5kvxKs&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {})
.then(response=>{
let data = [['Months', "Values"]]
response.metaData.dimensions.pe.map(o_pe=>{
@@ -246,7 +246,7 @@ % Change in antenatal care first visit per county
plotGraph(m_onths, "Period", y_data2, "No. of attendants", "First antenatal care attendants (ANC1) by year - "+response.metaData.items[response.metaData.dimensions.ou[0]].name, null, target3, "line", null)
/* *********First antenatal care attendants (ANC1) by year******** */
});
- justFetch(`https://hiskenya.org/api/26/analytics.json?dimension=dx:soUwg5kvxKs&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {})
+ justFetch(`https://hiskenya.org/api/analytics.json?dimension=dx:soUwg5kvxKs&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {})
.then(response=>{
let data = [['Months', "Values"]]
response.metaData.dimensions.pe.map(o_pe=>{
@@ -287,7 +287,7 @@ % Change in antenatal care first visit per county
const plotBar = (last_per, this_per) => {
$('#ldng').html(loading_svg_small)
- justFetch(`https://hiskenya.org/api/26/analytics.json?dimension=dx:soUwg5kvxKs&dimension=pe:${last_per};${this_per}&dimension=ou:LEVEL-${lvl};${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {'showLoading':'false'})
+ justFetch(`https://hiskenya.org/api/analytics.json?dimension=dx:soUwg5kvxKs&dimension=pe:${last_per};${this_per}&dimension=ou:LEVEL-${lvl};${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {'showLoading':'false'})
.then(response=>{
let data = [['County', "Values"]]
response.metaData.dimensions.ou.map(o_ou=>{
diff --git a/html/rmncah-cwc.html b/html/rmncah-cwc.html
index c556b1d..17df8ed 100755
--- a/html/rmncah-cwc.html
+++ b/html/rmncah-cwc.html
@@ -216,7 +216,7 @@ Number of children under 5 attending CWC table
let ouFilterType = window.sessionStorage.getItem("ouFilterType") || "national"
let lvl = "2"
if(ouFilterType == "county"){ lvl = "3" } else if(ouFilterType == "subcounty"){ lvl = "4" }else{ lvl = "2" }
- justFetch(`https://hiskenya.org/api/26/analytics.json?dimension=dx:GsqRulfqa8z&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {})
+ justFetch(`https://hiskenya.org/api/analytics.json?dimension=dx:GsqRulfqa8z&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {})
.then(response=>{
let data = [['Period', "Value"]]
response.metaData.dimensions.pe.map(o_pe=>{
@@ -253,7 +253,7 @@ Number of children under 5 attending CWC table
// $.getJSON("../assets/json/rmncah/children_under5_attending_cwc.json", function (data, textStatus, jqXHR) {
- justFetch(`https://hiskenya.org/api/26/analytics.json?dimension=dx:D0dZJRB71Sn&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {})
+ justFetch(`https://hiskenya.org/api/analytics.json?dimension=dx:D0dZJRB71Sn&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {})
.then(response=>{
let data = [['Period', "Trends in Child Welfare Clinic (CWC) Attendance"]]
response.metaData.dimensions.pe.map(o_pe=>{
diff --git a/html/rmncah-skilledeliveries.html b/html/rmncah-skilledeliveries.html
index 74e6bf4..bbac4a4 100755
--- a/html/rmncah-skilledeliveries.html
+++ b/html/rmncah-skilledeliveries.html
@@ -212,7 +212,7 @@ % change in skilled deliveries - All counties
let ouFilterType = window.sessionStorage.getItem("ouFilterType") || "national"
let lvl = "2"
if(ouFilterType == "county"){ lvl = "3" } else if(ouFilterType == "subcounty"){ lvl = "4" }else{ lvl = "2" }
- justFetch(`https://hiskenya.org/api/26/analytics.json?dimension=dx:s2rzbCX6URx&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {})
+ justFetch(`https://hiskenya.org/api/analytics.json?dimension=dx:s2rzbCX6URx&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {})
.then(response=>{
let data = [['Months', "Values"]]
response.metaData.dimensions.pe.map(o_pe=>{
@@ -242,7 +242,7 @@ % change in skilled deliveries - All counties
/* *********Number of skilled deliveries- Kenya, by year******** */
});
- justFetch(`https://hiskenya.org/api/26/analytics.json?dimension=dx:s2rzbCX6URx&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {})
+ justFetch(`https://hiskenya.org/api/analytics.json?dimension=dx:s2rzbCX6URx&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {})
.then(response=>{
let data = [['Months', "Values"]]
response.metaData.dimensions.pe.map(o_pe=>{
@@ -284,7 +284,7 @@ % change in skilled deliveries - All counties
const plotBar = (last_per, this_per) => {
$('#ldng').html(loading_svg_small)
- justFetch(`https://hiskenya.org/api/26/analytics.json?dimension=dx:s2rzbCX6URx&dimension=pe:${last_per};${this_per}&dimension=ou:LEVEL-${lvl};${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {'showLoading':'false'})
+ justFetch(`https://hiskenya.org/api/analytics.json?dimension=dx:s2rzbCX6URx&dimension=pe:${last_per};${this_per}&dimension=ou:LEVEL-${lvl};${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {'showLoading':'false'})
.then(response=>{
let data = [['County', "Values"]]
response.metaData.dimensions.ou.map(o_ou=>{
diff --git a/html/rmncah-vitasup.html b/html/rmncah-vitasup.html
index 7d1c7e9..b0a417a 100755
--- a/html/rmncah-vitasup.html
+++ b/html/rmncah-vitasup.html
@@ -207,7 +207,7 @@ Vitamin A Supplementation Coverage for Children (6 -59 Months) by County
{
let data = [['Period', "Trends in Vitamin A Supplementation for Children aged between 6 to 59 Months"]]
response.metaData.dimensions.pe.map(o_pe=>{
@@ -252,7 +252,7 @@ Vitamin A Supplementation Coverage for Children (6 -59 Months) by County
{
$('#ldng').html(loading_svg_small)
- justFetch(`https://hiskenya.org/api/26/analytics.json?dimension=dx:MifkeL55fBg&dimension=pe:${last_per};${this_per}&dimension=ou:LEVEL-${lvl};${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {'showLoading':'false'})
+ justFetch(`https://hiskenya.org/api/analytics.json?dimension=dx:MifkeL55fBg&dimension=pe:${last_per};${this_per}&dimension=ou:LEVEL-${lvl};${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {'showLoading':'false'})
.then(response=>{
let data = [['County', "Values"]]
response.metaData.dimensions.ou.map(o_ou=>{
diff --git a/html/violence.html b/html/violence.html
index eb8729e..0e412ac 100755
--- a/html/violence.html
+++ b/html/violence.html
@@ -203,7 +203,7 @@ Violence cases by County
let ouFilterType = window.sessionStorage.getItem("ouFilterType") || "national"
let lvl = "2"
if(ouFilterType == "county"){ lvl = "3" } else if(ouFilterType == "subcounty"){ lvl = "4" }else{ lvl = "2" }
- justFetch(`https://hiskenya.org/api/26/analytics.json?dimension=dx:Mg8KT0bPzOu&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`,{})
+ justFetch(`https://hiskenya.org/api/analytics.json?dimension=dx:Mg8KT0bPzOu&dimension=pe:${prd}&filter=ou:${org_unit}&displayProperty=NAME&outputIdScheme=UID`,{})
.then(response=>{
let data = [['Period', "Trends in violence cases"]]
response.metaData.dimensions.pe.map(o_pe=>{
@@ -247,7 +247,7 @@ Violence cases by County
const plotBar = (last_per, this_per) => {
$('#ldng').html(loading_svg_small)
- justFetch(`https://hiskenya.org/api/26/analytics.json?dimension=dx:MifkeL55fBg&dimension=pe:${last_per};${this_per}&dimension=ou:LEVEL-${lvl};${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {'showLoading':'false'})
+ justFetch(`https://hiskenya.org/api/analytics.json?dimension=dx:MifkeL55fBg&dimension=pe:${last_per};${this_per}&dimension=ou:LEVEL-${lvl};${org_unit}&displayProperty=NAME&outputIdScheme=UID`, {'showLoading':'false'})
.then(response=>{
let data = [['County', "Values"]]
response.metaData.dimensions.ou.map(o_ou=>{
diff --git a/manifest.webapp b/manifest.webapp
index bd59c5d..0360e23 100755
--- a/manifest.webapp
+++ b/manifest.webapp
@@ -1,5 +1,5 @@
{
- "version": "1.0.35",
+ "version": "1.1.0",
"name": "Essential Services Report",
"description": "An App to Visualize Essential Services data",
"launch_path": "html/index.html",