Skip to contents

Tidy datasets

Get cleaned dataframes with project related data.

build_supply_use()
Supply and use tables
get_bilateral_trade()
Bilateral trade data
get_feed_intake()
Livestock feed intake
get_primary_production()
Primary items production
get_primary_residues()
Crop residue items
get_processing_coefs()
Processed products share factors
get_wide_cbs()
Commodity balance sheet data

Download large datasets

Fetch large files from external sources and cache them.

get_file_path()
Download and cache files

Code namings

Add name columns in dataframes from their codes or viceversa.

Polities

add_area_code()
Get area codes from area names
add_area_name()
Get area names from area codes

Commodity balance sheet items

add_item_cbs_code()
Get commodity balance sheet item codes from item names
add_item_cbs_name()
Get commodity balance sheet item names from item codes

Primary production items

add_item_prod_code()
Get production item codes from item names
add_item_prod_name()
Get production item names from item codes

FAOSTAT raw data

Download FAOSTAT data as is.

get_faostat_data()
Scrapes activity_data from FAOSTAT and slightly post-processes it

Data sources

Get a tidy dataframe with the found sources for different data.

expand_trade_sources()
Trade data sources