Skip to contents

This dataset, coffee_poly, is a tibble containing estimates of global coffee production by country. The data represent thousands of 60 kg bags of coffee produced in 2016 and 2017. It is intended for teaching purposes only and not for research use.

Usage

data(coffee_poly)

Format

A tibble with 47 observations and 3 variables:

name_long

Country name (character)

coffee_production_2016

Coffee production in 2016, in thousands of 60 kg bags (integer)

coffee_production_2017

Coffee production in 2017, in thousands of 60 kg bags (integer)

Source

Data taken from the spData package version 2.3.4

Details

The dataset consists of 47 observations (countries) and 3 variables, including the country name and production values for two years. The data provide a simple example of tabular international production figures that can be used in spatial and non-spatial analyses.

The dataset name has been kept as coffee_poly to avoid confusion with other datasets in the R ecosystem. This naming convention helps distinguish this dataset as part of the lightsf package and assists users in identifying its specific characteristics. The suffix poly indicates that the dataset can be linked to polygon boundaries for mapping. The original content has not been modified in any way.