Skip to content

Input File Layout

Chris Symonds edited this page Jun 19, 2019 · 1 revision

Input File

To ensure that the input data is interpreted correctly, the following headings are required:

Variable Type Constraints
Region String "Northern" or "Central"
District String Empty fields may result in row being disregarded if District is used as a selector
EPA String Empty fields may result in row being disregarded if EPA is used as a selector
Lat Numeric Empty fields will definitely result in row being disregarded
Lon Numeric This and Lat should have values within the borders of Malawi, or the points may not be visible on the map
Altitude Numeric
Gender String "Male" or "Female"
Literacy String "Illiterate", "Primary School", "Secondary School", "Tertiary"
Number_followers Numeric Expects integer
Date_trained Date Expects YYYY-MM-DD format. Other formats may result in error
Length Numeric Integer, number of days between Date_trained and date of csv file creation
Farm_size Numeric
Sust_Ag_Activities String/Boolean "Yes" or "No"
Full_CA Numeric/Boolean 1 or 0
Partial_CA Numeric/Boolean 1 or 0
Agroforestry Numeric/Boolean 1 or 0
Manure_making Numeric/Boolean 1 or 0
Pit_planting Numeric/Boolean 1 or 0
Sust_Other Numeric/Boolean 1 or 0
Crops_Maize Numeric/Boolean 1 or 0
Crops_Millet Numeric/Boolean 1 or 0
Crops_Sorghum Numeric/Boolean 1 or 0
Crops_Cassava Numeric/Boolean 1 or 0
Crops_Sweet_Potato Numeric/Boolean 1 or 0
Crops_European_Potato Numeric/Boolean 1 or 0
Crops_Soya Numeric/Boolean 1 or 0
Crops_Groundnuts Numeric/Boolean 1 or 0
Crops_Beans Numeric/Boolean 1 or 0
Crops_Pigeon_Pea Numeric/Boolean 1 or 0
Crops_Cowpea Numeric/Boolean 1 or 0
Crops_Sugarcane Numeric/Boolean 1 or 0
Crops_Other Numeric/Boolean 1 or 0
Vegetables String/Boolean "Yes" or "No"
Fruit_trees String/Boolean "Yes" or "No"
Livestock String/Boolean "Yes" or "No"
Livestock_Cattle Numeric/Boolean 1 or 0
Livestock_Chickens Numeric/Boolean 1 or 0
Livestock_Ducks Numeric/Boolean 1 or 0
Livestock_Goats_Sheep Numeric/Boolean 1 or 0
Livestock_Guinea_Fowl Numeric/Boolean 1 or 0
Livestock_Pigs Numeric/Boolean 1 or 0
Livestock_Other Numeric/Boolean 1 or 0
Livestock_Rabbits Numeric/Boolean 1 or 0
X_id Numeric Integer
Clone this wiki locally