datazoom.amazonia icon indicating copy to clipboard operation
datazoom.amazonia copied to clipboard

Inconvenience with DOWNLOAD - IMAZON, SEEG, IEMA

Open AntonioBergallo opened this issue 3 years ago • 0 comments

The 4 README examples require installing "googledrive" package, which requires some authorizations that look very invasive and may scare the user

Context

The problems occured when running the example on README. The package was downloaded from GitHub via DevTools.

Code

IMAZON

data <- load_imazon(dataset = "imazon_shp", raw_data = TRUE,
                     geo_level = "municipality", language = "pt")

SEEG

data <- load_seeg(dataset = "seeg_industry", 
                  raw_data = FALSE,
                  geo_level = "state")
data <- load_seeg(dataset = "seeg", 
                  raw_data = TRUE,
                  geo_level = "municipality"

IEMA

data <- load_iema(dataset = "iema", raw_data = FALSE,
                     geo_level = "municipality", language = "pt")
data <- load_iema(dataset = "iema", raw_data = FALSE,
                     geo_level = "municipality", language = "eng")

Output

"Please follow the steps from googledrive package to download the data. This may take a while"

Goals and Expectations

The aim was to download the data, which was not possible due to this requirement of the googledrive package.

Suggestions!

One suggestion brought by Fernanda would be to insert instructions in the message deployed, in order to help the user match the requirements necessary. It is also important to write that these authorizations are not harmful and won´t alter the user´s personal drive, so people feel more comfortable to give the permissions necessary and are able to download and use the data.

AntonioBergallo avatar Oct 11 '22 14:10 AntonioBergallo