Skip to contents

Query to return crop ID from crop Name in crop database

Usage

query_crop(config = config_ambre, cropName)

Arguments

config

list configuration file default value is config_ambre dataset

cropName

character Name of crop for which you want to find the identifier

Value

cropID integer

Examples

query_crop(cropName = "Corn seed")
#> [1] 1