To load a single file, use the Livelihood Explorer admin screens instead of the Dagster pipelines.
-
On a desktop copy of the BSS, enable editing and set calculations to automatic.
-
Open the admin screen: http://livelihoodsstage.fews.net/admin
-
Ensure Source Organization and Livelihood Zone exist.
-
Source Organization should already exist. If not, use the guidance on the BSS Setup page.
-
Livelihood Zone: Be sure to enter a code, country, and name. Enter a description of the Livelihood Zone if available. Save.
-
-
Add seasons
-
Learn more about adding Season definitions.
-
-
Add Livelihood Zone Baseline
-
Choose the Livelihood Zone code.
-
Add name.
-
Choose the Primary Livelihood System.
-
Choose Source organization.
-
Choose file > select your BSS file.
-
Choose BSS language.
-
Upload profile report if available. This can be added later.
-
Choose the start and end date for the reference year.
-
Add a valid from date. Leave the valid to date blank.
-
Choose the Data Collection start and end dates.
-
Add a publication date if available.
-
Choose the currency.
-
Add descriptions in any languages available.
-
Click save.
-
-
Tell the Hub it has been uploaded so we can run the pipelines manually. It may take up to 10 minutes for the partition to appear in the pipeline. In Dagster, the Hub will complete the following steps:
-
Materialize missing partitions.
-
Run imported_communities for relevant partition.
-
imported_baseline - run upstream all that haven’t been run (depth of 4) for relevant partition - make sure activity groups are included, back to corrected files
-
Review unrecognized_labels to see if there are any missing.
-
At each step, check for errors and needed corrections and create tickets as needed.
-