File tree Expand file tree Collapse file tree 5 files changed +12
-12
lines changed Expand file tree Collapse file tree 5 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 99 fluViewRegions ,
1010 gftLocations ,
1111 ghtLocations ,
12- nidssDenqueLocations ,
12+ nidssDengueLocations ,
1313 nidssFluLocations ,
1414 nowcastLocations ,
1515 quidelLocations ,
@@ -391,9 +391,9 @@ export function importGHT({
391391 ) ;
392392}
393393
394- export function importNIDSSDenque ( { locations } : { locations : string } ) : Promise < DataGroup | null > {
395- const regionLabel = nidssDenqueLocations . find ( ( d ) => d . value === locations ) ?. label ?? '?' ;
396- const title = `[API] NIDSS-Denque : ${ regionLabel } ` ;
394+ export function importNIDSSDengue ( { locations } : { locations : string } ) : Promise < DataGroup | null > {
395+ const regionLabel = nidssDengueLocations . find ( ( d ) => d . value === locations ) ?. label ?? '?' ;
396+ const title = `[API] NIDSS-Dengue : ${ regionLabel } ` ;
397397 return loadDataSet (
398398 title ,
399399 'nidss_dengue' ,
Original file line number Diff line number Diff line change 3636 | ' cdc'
3737 | ' quidel'
3838 | ' nidss_flu'
39- | ' nidss_denque '
39+ | ' nidss_dengue '
4040 | ' sensors'
4141 | ' nowcast'
4242 | ' covidcast'
156156 <Wiki {id } bind:this ={handler } />
157157 {:else if dataSource === ' quidel' }
158158 <Quidel {id } bind:this ={handler } />
159- {:else if dataSource === ' nidss_denque ' }
159+ {:else if dataSource === ' nidss_dengue ' }
160160 <NidssDengue {id } bind:this ={handler } />
161161 {:else if dataSource === ' nidss_flu' }
162162 <NidssFlu {id } bind:this ={handler } />
Original file line number Diff line number Diff line change 11<script lang =" ts" >
2- import { importNIDSSDenque } from ' ../../../api/EpiData' ;
3- import { nidssDenqueLocations as regions } from ' ../../../data/data' ;
2+ import { importNIDSSDengue } from ' ../../../api/EpiData' ;
3+ import { nidssDengueLocations as regions } from ' ../../../data/data' ;
44 import SelectField from ' ../inputs/SelectField.svelte' ;
55
66 export let id: string ;
77
88 let locations = regions [0 ].value ;
99
1010 export function importDataSet() {
11- return importNIDSSDenque ({ locations });
11+ return importNIDSSDengue ({ locations });
1212 }
1313 </script >
1414
Original file line number Diff line number Diff line change @@ -315,7 +315,7 @@ export const nidssFluLocations = [
315315 { value : 'taipei' , label : 'Taipei' } ,
316316] ;
317317
318- export const nidssDenqueLocations = [
318+ export const nidssDengueLocations = [
319319 { value : 'nationwide' , label : 'Taiwan National' } ,
320320 { value : 'central' , label : 'Central' } ,
321321 { value : 'eastern' , label : 'Eastern' } ,
Original file line number Diff line number Diff line change 66 importFluView ,
77 importGFT ,
88 importGHT ,
9- importNIDSSDenque ,
9+ importNIDSSDengue ,
1010 importNIDSSFlu ,
1111 importNowcast ,
1212 importQuidel ,
@@ -53,7 +53,7 @@ const lookups = {
5353 fluview : importFluView ,
5454 gft : importGFT ,
5555 ght : importGHT ,
56- nidss_denque : importNIDSSDenque ,
56+ nidss_dengue : importNIDSSDengue ,
5757 nidss_flu : importNIDSSFlu ,
5858 nowcast : importNowcast ,
5959 quidel : importQuidel ,
You can’t perform that action at this time.
0 commit comments