The download_package()
function downloads all of the
data objects in a data package to the local filesystem. It is
particularly useful when a data package is too large to download using
the web interface.
Setting check_download_size
to TRUE
is
recommended if you are uncertain of the total download size and want to
avoid downloading very large data packages.
This function will also download any data objects it finds in any
child data packages of the input data package. If you would only like to
download data from one data package, set
download_child_packages
to FALSE
.
Example: