Preparing Data for Upload
To ensure a successful upload of data:
...
There are three categories of information that need to be checked when preparing data for upload.
Info |
---|
Spreadsheets for most domains require a straight table with one data point per row. Certain domains, such as Prices, will load cross-tabs (i.e., with markets down the side and products across the top). |
Column headings
Column headings must be recognized by FDW. When uploading ad hoc data, column names may need to be adjusted.
Note |
---|
Important: If you regularly receive a document from a non-FEWS NET source that contains alternate column headings, do not edit the column headings every time. Instead, submit a help desk ticket so the Hub can add the headings as aliases to the system. |
Source files uploaded to FDW must include properly defined column headings, including:
Column headings with correctly spelled metadata fields.
Column headings that contain metadata fields recognized by FDW.
A column heading for each column that contains data.
The examples below describe common errors related to column headings:
Expand | ||
---|---|---|
| ||
Scenario: Uploading price data using the import screen (https://fdw.fews.net/en/admin/price/marketprice/import/) results in the following error message:
Explanation: The Solution: Ensure the source file contains the corrected column heading. |
Expand | ||
---|---|---|
| ||
Scenario: Uploading price data from the import screen (https://fdw.fews.net/en/admin/price/marketprice/import/) results in the following error message:
Explanation: The error indicates a mismatch in the column headings contained in the file and those recognized by FDW. For example, the Solution: Ensure all column headings are titled correctly and there are no blank headings. |
Metadata
Metadata values must be recognized by FDW. New metadata must be added through the data series or metadata importing screen.
Use of Templates
IPC Classification Data
The IPC classification data template provides data for four source documents which can be FSO, FSO Internal, FSOU, FSA and KMU select.
You can simultaneously upload Food Security Area Classification, Humanitarian Food Assistance (HFA) and Internally Displaced People (IDP) data. Separate Food Security Area Classification and HFA data collections will be automatically created.
The source document must align with the date range included in the template or data will not be uploaded. Data collection should be uploaded one month at a time. The collection date should always be the first day of the month.
The first month in the data collection period includes the CS (current situation), ML (near term projection three months), ML2 (medium term projection six months). The outlook collection date is the first date from the current state through four months. A new collection date begins after four months.
Food Assistance Outlook Brief (FAOB) Data
...
The FAOB template allows multiple data collections to be created from one upload (public and internal population estimates, and public and internal highest household).
Preparing internal and public FAOB data in the template will fall under one of the following three scenarios:
...
Public and internal data values are the same:
Provide values in the columns for public data and leave the columns for internal data blank. FDW will ascribe the values to both the public and internal source documents.
...
Public and internal data values differ:
Provide values in the columns for public and internal data. FDW will separate out the data into the public and internal source documents.
Internal data only:
Provide values in the columns for internal data, and either:
...
Specify NA values in the columns for public data to include the country as not analyzed in extracts of that month’s public data, or
...
Source files uploaded to FDW must include appropriate metadata information, including:
Metadata values that match those available in FDW.
Compatible metadata values for each record.
Metadata values free of extra characters or values that cannot be recognized.
The examples below describe common errors related to metadata:
Expand | ||
---|---|---|
| ||
Scenario: Uploading CPI data (https://fdw.fews.net/en/admin/price/priceindexvalue/import/) results in 1 skipped result. Explanation: The metadata values for the columns (such as the index_name or geographic_unit) do not match those in FDW. Solution: Correct the metadata values to match those in FDW. |
Expand | ||
---|---|---|
| ||
Scenario: Uploading exchange rate data from the import screen (https://fdw.fews.net/en/admin/price/exchangeratevalue/import/) results in the following error message:
Explanation: The market name in FDW and the file do not match. Solution: Correct the market name in the file. |
Expand | ||
---|---|---|
| ||
Scenario: Uploading cross border trade metadata (https://fdw.fews.net/en/admin/trade/tradeflowquantity/import/) results in 3 invalid results: Explanation: The invalid results are caused by incompatible values across the Solution: The values must be corrected to upload the data successfully. |
Expand | ||
---|---|---|
| ||
Scenario: A user uploads IPC data (https://fdw.fews.net/en/admin/warehouse/dataupload/add/) and receives the following error message:
Explanation: This error is caused by an extra character or value under the metadata columns. Solution: Removing the extra character or value will resolve the issue. You can use the TRIM function in Excel to remove extra spaces from text, leaving only a single space between words and no space characters at the start or end of the text. |
Expand | ||
---|---|---|
| ||
Scenario: A user uploads price data from either the import screen (https://fdw.fews.net/en/admin/price/marketprice/import/) or data collection screen (https://fdw.fews.net/en/admin/warehouse/datacollection/add/) and receives a skipped result: Explanation: The file contains a new metadata record not in FDW. Solution: Check for new metadata information that needs to be added through the data series or metadata importing screen before uploading the file again. |
Data values
Data values must be accurately matched to their column headings.
Source files uploaded to FDW must include appropriate data values, including:
Data values that align with the correct metadata field in the column headings.
Data values that are within an expected range.
The examples below describe common errors related to data values:
Expand | ||||
---|---|---|---|---|
| ||||
Scenario: A user uploads price data from the data collection screen (https://fdw.fews.net/en/admin/warehouse/datacollection/add/) and receives the following error message:
Similarly, uploading the same file from the import screen (https://fdw.fews.net/en/admin/price/marketprice/import/) results in the following error message:
Explanation: The file contains interchanged data values for the Solution: Correcting the file so the data values align with the correct metadata field will resolve the issue. |