dot-read_data: Read and prepare the data for the experiment.

.read_dataR Documentation

Read and prepare the data for the experiment.

Description

This function reads the deforestation data from the package (deforestation_data), then it transforms their areas from km2 to mt2, it applies a log transformation, and finally, it filters out the data with no deforestation.

Usage

.read_data(raw = FALSE)

Arguments

raw

A logical. When TRUE, the whole data set is returned. Otherwise, only those registers where deforestation is greater than zero are returned.

Value

A tibble.


albhasan/prioritizedeforestationhotspots documentation built on Nov. 11, 2023, 3:12 p.m.