This function copies the data package from the temporary directory specified by paste0(tempdir(), '/data_package') to a user specified directory.

data_package_copy(
    copy.dir
  )

Arguments

copy.dir

(character) Directory to which the data package will be copied.

Value

(data package) Data package contents as parsed by metajam.

Examples

# NOT RUN {
# Download data package to temporary directory
data_package_download('doi:10.18739/A2DP3X')

# Copy data package to user specified directory
copy_data_package('/Users/csmith/Desktop/data_packages')

# Clean up
data_package_remove()
# }