-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Try write_dwc()
on non-Zenodo dataset
#25
Comments
@sarahcd in 2016 you suggested http://dx.doi.org/10.5441/001/1.sj8t3r11 (peterdesmet/movebank2gbif#4 (comment)). Maybe that is still a good one? |
Yes that one still looks good! Once we confirm that our current examples are working, when I read through the vignette, I can try to think of studies with other variations we should try it on. |
Great, here's what I did: library(frictionless)
library(movepub)
library(dplyr)
package <-
create_package() %>%
movepub::add_resource("reference-data", "https://www.datarepository.movebank.org/bitstream/handle/10255/move.488/Lesser%20Kestrels%20EBD-reference-data.csv?sequence=1") %>%
movepub::add_resource("gps", "https://www.datarepository.movebank.org/bitstream/handle/10255/move.487/Lesser%20Kestrels%20EBD.csv?sequence=1")
write_package(package, "kestrels") # Save datapackage.json file
write_dwc(package, directory = "kestrels", doi = "https://doi.org/10.5441/001/1.sj8t3r11")
#> Creating EML metadata.
#> Reading data from `package`.
#> Creating database and transforming to Darwin Core. Created on 2022-05-20 by the reprex package (v2.0.1) Works fine, but can you verify the resulting (meta)data: |
I also added rightsHolder and contact as described in the vignette. Noticed that in the eml, the contact seems to map to metadataProvider and contact. For the use case of publishing data from the Movebank Repository, these might differ, e.g., the corresponding researcher for the contact and the repository/curator as the metadataProvider. Otherwise everything looks good, I will try some more examples and update if I find other things to consider. |
Correct, the provided Any of the provided values can be changed in the IPT afterwards if need be. |
Indeed, the study URL is pulled from the second Line 96 in d9f1a2d
To allow users to define it, we could:
Given that the link is used in the description and as external link, I think a parameter would be good? |
I agree! |
Ok, recorded in separate issue. Any other remarks regarding trying |
Everything else worked well on 3 GPS studies I tried it with. |
Excellent, will close this issue then. |
@sarahcd do you have a good example dataset in the Movebank repository that I can use to test if the
write_dwc()
function handles it elegantly?The text was updated successfully, but these errors were encountered: