IgorRigolon
IgorRigolon
It says one of the datasets is `"ppm_animal_orig_production"`, but it's actually `"ppm_animal_origin_production"`. Either way, the dataset name doesn't really help explain what it contains.
As pointed out by @carolinamoura2000, we have to be a bit more careful with the definition of Legal Amazon. In the [IBGE website](https://www.ibge.gov.br/geociencias/organizacao-do-territorio/estrutura-territorial/15819-amazonia-legal.html?=&t=acesso-ao-produto) we see that it encompasses all of...
Population by municipality from the 2022 Census is already available at [SIDRA](https://sidra.ibge.gov.br/pesquisa/censo-demografico/demografico-2022/universo-populacao-por-cor-ou-raca). This should be added to the function. There's also data from the 2000 Census and estimates from 1996,...
Datasets such as `"mapbiomas_transition"` and `"pam_all_crops"` can be renamed to "`cover_transition`" and `"all_crops"`. Different functions can even have the same dataset names, so there's no need to prefix them with...
The function clumps all biomes together during the data cleaning, leading to duplicate rows  In the raw data, it looks like  where each row corresponds to a biome,...