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 9
9
fluViewRegions ,
10
10
gftLocations ,
11
11
ghtLocations ,
12
- nidssDenqueLocations ,
12
+ nidssDengueLocations ,
13
13
nidssFluLocations ,
14
14
nowcastLocations ,
15
15
quidelLocations ,
@@ -391,9 +391,9 @@ export function importGHT({
391
391
) ;
392
392
}
393
393
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 } ` ;
397
397
return loadDataSet (
398
398
title ,
399
399
'nidss_dengue' ,
Original file line number Diff line number Diff line change 36
36
| ' cdc'
37
37
| ' quidel'
38
38
| ' nidss_flu'
39
- | ' nidss_denque '
39
+ | ' nidss_dengue '
40
40
| ' sensors'
41
41
| ' nowcast'
42
42
| ' covidcast'
156
156
<Wiki {id } bind:this ={handler } />
157
157
{:else if dataSource === ' quidel' }
158
158
<Quidel {id } bind:this ={handler } />
159
- {:else if dataSource === ' nidss_denque ' }
159
+ {:else if dataSource === ' nidss_dengue ' }
160
160
<NidssDengue {id } bind:this ={handler } />
161
161
{:else if dataSource === ' nidss_flu' }
162
162
<NidssFlu {id } bind:this ={handler } />
Original file line number Diff line number Diff line change 1
1
<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' ;
4
4
import SelectField from ' ../inputs/SelectField.svelte' ;
5
5
6
6
export let id: string ;
7
7
8
8
let locations = regions [0 ].value ;
9
9
10
10
export function importDataSet() {
11
- return importNIDSSDenque ({ locations });
11
+ return importNIDSSDengue ({ locations });
12
12
}
13
13
</script >
14
14
Original file line number Diff line number Diff line change @@ -315,7 +315,7 @@ export const nidssFluLocations = [
315
315
{ value : 'taipei' , label : 'Taipei' } ,
316
316
] ;
317
317
318
- export const nidssDenqueLocations = [
318
+ export const nidssDengueLocations = [
319
319
{ value : 'nationwide' , label : 'Taiwan National' } ,
320
320
{ value : 'central' , label : 'Central' } ,
321
321
{ value : 'eastern' , label : 'Eastern' } ,
Original file line number Diff line number Diff line change 6
6
importFluView ,
7
7
importGFT ,
8
8
importGHT ,
9
- importNIDSSDenque ,
9
+ importNIDSSDengue ,
10
10
importNIDSSFlu ,
11
11
importNowcast ,
12
12
importQuidel ,
@@ -53,7 +53,7 @@ const lookups = {
53
53
fluview : importFluView ,
54
54
gft : importGFT ,
55
55
ght : importGHT ,
56
- nidss_denque : importNIDSSDenque ,
56
+ nidss_dengue : importNIDSSDengue ,
57
57
nidss_flu : importNIDSSFlu ,
58
58
nowcast : importNowcast ,
59
59
quidel : importQuidel ,
You can’t perform that action at this time.
0 commit comments