You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great if the amounts of fertiliser could be converted in kg_per_year (used in the calculation of GHG emissions).
I found the fertiliser_units in rhomis package, but some values are missing (see below).
My script to calculate it (you might find a better way to do it):
#complete the fertilizer_units from RHoMIS package
newunits <- data.frame("survey_value"=c("2.5_kg","FALSE","litres","no_answer","sacks","sacks_20kg","sacks_46kg","tine_20kg","wheelbarrow"),
"conversion"=c(2.5,NA,1,NA,50,20,46,20,80))
fertiliser_units <- rbind(fertiliser_units,newunits)
convkg <- fertiliser_units$conversion[match(tab$fertiliser_units, fertiliser_units$survey_value)]
tab$fertiliser_kg_per_year <- tab$fertiliser_amount*convkg
The text was updated successfully, but these errors were encountered:
It would be great if the amounts of fertiliser could be converted in kg_per_year (used in the calculation of GHG emissions).
I found the fertiliser_units in rhomis package, but some values are missing (see below).
My script to calculate it (you might find a better way to do it):
The text was updated successfully, but these errors were encountered: