-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #317 from e-picsa/feat/crop-probability-content
Feat: Crop probability district filter and data update
- Loading branch information
Showing
26 changed files
with
7,905 additions
and
1,182 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
247 changes: 0 additions & 247 deletions
247
apps/picsa-server/scripts/crop-probability-parser/index.ts
This file was deleted.
Oops, something went wrong.
36 changes: 36 additions & 0 deletions
36
apps/picsa-server/scripts/crop-probability-parser/src/data/districts.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
import { arrayToHashmap } from '../../../../../../libs/utils'; | ||
|
||
const MW_DISTRICTS = [ | ||
{ id: 'balaka', label: 'Balaka' }, | ||
{ id: 'blantyre', label: 'Blantyre' }, | ||
{ id: 'chikwawa', label: 'Chikwawa' }, | ||
{ id: 'chiradzulu', label: 'Chiradzulu' }, | ||
{ id: 'chitipa', label: 'Chitipa' }, | ||
{ id: 'dedza', label: 'Dedza' }, | ||
{ id: 'dowa', label: 'Dowa' }, | ||
{ id: 'karonga', label: 'Karonga' }, | ||
{ id: 'kasungu', label: 'Kasungu' }, | ||
{ id: 'likoma', label: 'Likoma' }, | ||
{ id: 'lilongwe', label: 'Lilongwe' }, | ||
{ id: 'machinga', label: 'Machinga' }, | ||
{ id: 'mangochi', label: 'Mangochi' }, | ||
{ id: 'mchinji', label: 'Mchinji' }, | ||
{ id: 'mulanje', label: 'Mulanje' }, | ||
{ id: 'mwanza', label: 'Mwanza' }, | ||
{ id: 'mzimba', label: 'Mzimba' }, | ||
{ id: 'neno', label: 'Neno' }, | ||
{ id: 'nkhata_bay', label: 'Nkhata Bay' }, | ||
{ id: 'nkhotakota', label: 'Nkhotakota' }, | ||
{ id: 'nsanje', label: 'Nsanje' }, | ||
{ id: 'ntcheu', label: 'Ntcheu' }, | ||
{ id: 'ntchisi', label: 'Ntchisi' }, | ||
{ id: 'phalombe', label: 'Phalombe' }, | ||
{ id: 'rumphi', label: 'Rumphi' }, | ||
{ id: 'salima', label: 'Salima' }, | ||
{ id: 'thyolo', label: 'Thyolo' }, | ||
{ id: 'zomba', label: 'Zomba' }, | ||
]; | ||
|
||
export const DISTRICTS = { | ||
mw: arrayToHashmap(MW_DISTRICTS, 'label'), | ||
}; |
Oops, something went wrong.