ropensci / datapack

An R package to handle data packages
https://docs.ropensci.org/datapack
44 stars 9 forks source link

Add Bagit serialization/Deserialization to the DataPackage class #3

Open ghost opened 9 years ago

gothub commented 8 years ago

Create a separate Bagit class

gothub commented 8 years ago

Added serializeToBagit() to DataPackage.R in commit d43da665ffe4e1f75f1b3b8905a026aa98e26164

gothub commented 8 years ago

Still need to add deserialization method that will take a BagIt archive file and create a DataPackage containing the payload files as DataObjects. A separate method will be used to perform the BagIt validation (optional operation) to compare the manifest checksums with the payload files.