write_dwc()now requiresanimal-taxon,animal-idandtag-idin the source data. It also gracefully handles any non-required missing fields (#120).write_dwc()now adds georeferenceSources (set toGPSfor GPS sensor data) and identificationVerificationStatus (set toverified by expertfor all records, since the taxon is assumed to be well-known before the tag was attached).
write_eml()is now a separate function fromwrite_dwc()(#57).write_eml()now formats thederived_paragraphas DocBook (rather than HTML), a format supported by EML and the GBIF IPT (#102). The paragraph is also shorter and added at the end of the abstract (#76).- New
html_to_docbook()allows to convert a string or character vector from HTML to DocBook. You can use this to convert descriptions in order to have valid EML (#101). write_eml()andwrite_dwc()no longer add[subsampled representation]to the dataset title (#76).
write_dwc()can now be used for an unpublished dataset (i.e. without metadata on DataCite, which was required for the previously build-inwrite_eml()functionality). Some record-level terms (e.g.dwc:datasetName) can be provided as arguments (#57, #72).write_dwc()(andwrite_eml()) no longer writes to"."by default, since this is not allowed by CRAN policies. The user needs to explicitly define a directory (#70).write_dwc()now writes the output file asoccurrence.csv(previouslydwc_occurrence.csv) and adds ameta.xmlfile. The sex and life stage of the animal are - in addition todwc:sexanddwc:lifeStageinoccurrence.csv- expressed in an extended measurement or facts file (emof.csv), for better support with OBIS (#71, #77, #78).write_dwc()provides a message regarding the matching of scientific names with WoRMS Aphia IDs. These IDs are now clickable URLs, making it easier to verify the match (#58).write_dwc()is now more modular, facilitating extension for non-GPS tracking data (#66).
- movepub now relies on R >= 4.1.0 (because of
{move2}dependency) and uses base pipes (|>rather than%>%) (#98). - Many functions of
{frictionless}are now reexported by movepub, so you no longer have to load that package to create Data Packages (#54). get_mvb_term()is deprecated in favour ofmove2::movebank_get_vocabulary()(#60).- Sanne Govaert is added as author.
write_dwc()now makes use of{dplyr}rather than SQL for its transformation. This reduces the number of dependencies (#61).
- As per OBIS recommendations,
write_dwc()now adds ascientificNameIDto all occurrences, with the WoRMS LSID for that taxon. It does so using the newget_aphia_id(). - The cli package is now used for all messages.