Get amount of items used for feeding livestock.
Arguments
- file_path
The local path where the input CSV is located. It is recommended to use an autogenerated path by
get_file_path()
function.
Value
A tibble with the feed intake data. It contains the following columns:
year
: The year in which the recorded event occurred.area_code
: The code of the country where the data is from. For code details see e.g.add_area_name()
.live_anim_code
: Commodity balance sheet code for the type of livestock that is fed. For code details see e.g.add_item_cbs_name()
.item_cbs_code
: The code of the item that is used for feeding the animal. For code details see e.g.add_item_cbs_name()
.feed_type
: The type of item that is being fed. It can be one of:animals
: Livestock product, e.g.Bovine Meat
,Butter, Ghee
, etc.crops
: Crop product, e.g.Vegetables, Other
,Oats
, etc.residues
: Crop residue, e.g.Straw
,Fodder legumes
, etc.grass
: Grass, e.g.Grassland
,Temporary grassland
, etc.scavenging
: Other residues. SingleScavenging
item.
supply
: The computed amount in tonnes of this item that should be fed to this animal, when sharing the total itemfeed
use from the Commodity Balance Sheet among all livestock.intake
: The actual amount in tonnes that the animal needs, which can be less than the theoretical used amount fromsupply
.intake_dry_matter
: The amount specified byintake
but only considering dry matter, so it should be less thanintake
.loss
: The amount that is not used for feed. This issupply - intake
.loss_share
: The percent that is lost. This isloss / supply
.
Examples
if (FALSE) { # \dontrun{
get_feed_intake(get_file_path("feed_intake"))
} # }