get_attachments: fetch dataset attachments

Description Arguments Examples

Description

This method is used to retrieve attachments from a dataset.

Arguments

fname

a character, the title of the file in the attachments element of the info field

output

a character, the destination file name, if NULL (the default) it will be the same as fname

Examples

1
2
horodateurs <- fodr_dataset("paris", "horodateurs-transactions-de-paiement")
horodateurs$get_attachments(fname = "NOTICE_horodateurs.pdf")

Tutuchan/fodr documentation built on May 9, 2019, 5:16 p.m.