Skip to content

read_fao returning 0 rows

read_fao() is returning zero rows for the dataset with code QCL, even when I have verified that the data I am looking for does exist. An example: read_fao(area_codes="21", element_codes="5112", item_codes="1057", year_codes="2020", dataset="QCL”) This asks for brazil, stocks, chickens, 2020, in the Crops and Livestock Production dataset.

Output from R console: [1] Domain.Code Domain Area.Code..M49. Area
[5] Element.Code Element Item.Code..CPC. Item
[9] Year.Code Year Unit Value
[13] Flag Flag.Description <0 rows> (or 0-length row.names)

It returns zero rows even though this data definitely exists. It outputs zero rows no matter what combination of area, element, item and year I give it.