# NOT RUN {
# }
# NOT RUN {
## Download all sites with BASE data, under CCBY4.0 policy
amf_download_bif(user_id = "test",
user_email = "test@mail.com",
data_policy = "CCBY4.0",
agree_policy = TRUE,
intended_use = "other",
intended_use_text = "testing download",
out_dir = tempdir(),
site_w_data = TRUE)
## Download all registered sites, under LEGACY policy
amf_download_bif(user_id = "test",
user_email = "test@mail.com",
data_policy = "LEGACY",
agree_policy = TRUE,
intended_use = "other",
intended_use_text = "testing download",
out_dir = tempdir(),
site_w_data = FALSE)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab