convert_crop_yield_units: Convert Crop Yield Units

View source: R/CropCalculations.R

convert_crop_yield_unitsR Documentation

Convert Crop Yield Units

Description

RHoMIS crop yields come in a character format. This function converts these to numeric and adds the new numeric units in an appropriate place for the dataset

Usage

convert_crop_yield_units(data, unit_conv_tibble = NULL)

Arguments

data

The data containing the units to convert

unit_conv_tibble

Unit tibble for crop yield, including individual idsfor projects. Crops to be coverted to kg amount

Details

Rpackage file: CropCalculations.R


l-gorman/rhomis-R-package documentation built on Nov. 8, 2023, 6:46 a.m.