download attachments
get_attachments.Rd
download attachments
Arguments
- data
tibble of datasets as given by
attachments()
. Must contains anid
column- dest
directory to write files
Examples
datasets() %>%
dido_search("drom") %>%
attachments() %>%
get_attachments(dest = tempdir())
#> file downloaded: /tmp/RtmpF5CYw6/liste-des-variables-donnees-annuelles-de-consommation-de-produits-petroliers-par-drom.pdf