Description Usage Arguments Value
This function computes the fertilizer estimate
1 2 3 4 5 6 7 8 9 | recommendation(lat, long, IntendedPlantingDate, countryObj, rootUP,
investment, harvestDate = 300, farmSize = 2, ureaUse = TRUE,
DAPUse = TRUE, NPK171717Use = FALSE, NPK151515Use = FALSE,
NPK201010Use = FALSE, NPK251010Use = FALSE, TSPuse = TRUE,
SSPUse = FALSE, CANuse = FALSE, NafakaUse = FALSE,
MOPUse = FALSE, ureaPrice = 20, DAPPrice = 20,
NPK171717price = 20, NPK151515Price = 20, NPK201010Price = 20,
NPK251010Price = 20, TSPPrice = 20, SSPPrice = 20, CANPrice = 20,
NafakaPrice = 20, MOPPrice = 20)
|
lat |
Lattitude |
long |
Longitude |
IntendedPlantingDate |
controls not to ask recommendation for dates that are not considerd as planing dates in the zone |
countryObj |
Country code 1 is Nigeria 2 is Tanzania this is because the strings are not taken properly here and conversion os hectic |
rootUP |
root rpice for fresh wt. ton/ha it is 270 in TZ and 141 for NG |
investment: |
how much the farmer is willing to ivest in USD (currently 200 USD) |
harvestDate: |
how much the farmer is willing to ivest in USD (currently 200 USD) |
farmSize: |
how much the farmer is willing to ivest in USD (currently 200 USD) |
ureaUse: |
boolean value False or True |
DAPUse: |
boolean value False or True |
NPK171717Use: |
boolean value False or True |
NPK201010Use: |
boolean value False or True |
NPK251010Use: |
boolean value False or True |
TSPuse: |
boolean value False or True |
SSPUse: |
boolean value False or True |
CANuse: |
boolean value False or True |
NafakaUse: |
boolean value False or True |
MOPUse: |
boolean value False or True |
ureaPrice: |
Price of specified fertilizer default is 20 USD but it will have to be converted base on the country |
DAPPrice: |
Price of specified fertilizer default is 20 USD but it will have to be converted base on the country |
NPK171717price: |
Price of specified fertilizer default is 20 USD but it will have to be converted base on the country |
NPK151515Price: |
Price of specified fertilizer default is 20 USD but it will have to be converted base on the country |
NPK201010Price: |
Price of specified fertilizer default is 20 USD but it will have to be converted base on the country |
NPK251010Price: |
Price of specified fertilizer default is 20 USD but it will have to be converted base on the country |
TSPPrice: |
Price of specified fertilizer default is 20 USD but it will have to be converted base on the country |
SSPPrice: |
Price of specified fertilizer default is 20 USD but it will have to be converted base on the country |
CANPrice: |
Price of specified fertilizer default is 20 USD but it will have to be converted base on the country |
NafakaPrice: |
Price of specified fertilizer default is 20 USD but it will have to be converted base on the country |
MOPPrice: |
Price of specified fertilizer default is 20 USD but it will have to be converted base on the country |
The estimate array
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.