--
You received this message because you are subscribed to the Google Groups "Dataverse Users Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dataverse-commu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dataverse-community/CANiF6ZU26cK1q-6T0Hs4MABmDcbrvcFpbB_8Ef8DEJ7hSAG1xw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dataverse-community/CABbxx8G8YimZSM8PFdyF45VYsAa2H_VUM6dc41YONjwqxBoA-Q%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dataverse-community/CANiF6ZUPY2A10CQHZ2%3DYEtEP-y%3Dv1r52EX3d5OLRa3-Xpku4Ng%40mail.gmail.com.
Jamie,
Yes. The migrate API is really two calls (see https://guides.dataverse.org/en/latest/developers/dataset-migration-api.html) and, in between you can/have to add files and can add any additional metadata (e.g. if you wanted to add something about the fact that they’ve been moved to an existing/custom metadata field.).
(That design allows you to use normal or direct uploads for files. Also, since, once the dataset has been created, there isn’t any difference between uploading files to a migrated versus newly created dataset, new migrate API calls weren’t needed for uploading files. FWIW: If you have a Bag created from the original Dataverse, DVUploader can perform all the steps together. If not, you get a zip of the datafiles, once you’ve done the first migrate API call to create the dataset, you should be able to upload the zip (with normal upload) and have Dataverse unzip the files, or unzip the zip file locally and use DVUploader to upload them (pyDataverse as well, but DVUploader supports direct upload if you need that).
If you have suggestions for making the guides clearer/more detailed, please send an issue/PR!
-- Jim
To view this discussion on the web visit https://groups.google.com/d/msgid/dataverse-community/975126d0-5bcc-41a4-928d-c2ffb9a90668n%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Dataverse Users Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dataverse-commu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dataverse-community/1395d45f-c6da-42de-a4a8-7a346279eec3n%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Dataverse Users Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dataverse-commu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dataverse-community/e6b91e99-1f00-4be2-9c4f-6f234a34d721n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dataverse-community/7ee67b8f-1a76-4549-bb39-aa1c56341f2dn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dataverse-community/CABbxx8EbM9YgH4VGNgAB3zTytJYJ%2BE3FS2WPnpTKQZMSjnUJcw%40mail.gmail.com.