NEWS
movepub 0.4.0.9000
write_dwc() now requires animal-taxon, animal-id and tag-id in the source data. It also gracefully handles any non-required missing fields (#120).
write_dwc() now adds georeferenceSources (set to "GPS" for GPS sensor data) and dwc:identificationVerificationStatus (set to "verified by expert" for all records, since the taxon is assumed to be well-known before the tag was attached).
write_dwc() now always uses the canonical URI (with http) for dwc:measurementTypeID (#128).
movepub 0.4.0
write_eml
write_eml() is now a separate function from write_dwc() (#57).
write_eml() now formats the derived_paragraph as 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() and write_dwc() no longer add "[subsampled representation]" to the dataset title (#76).
write_dwc
write_dwc() can now be used for an unpublished dataset (i.e. without metadata on DataCite, which was required for the previously build-in write_eml() functionality). Some record-level terms (e.g. dwc:datasetName) can be provided as arguments (#57, #72).
write_dwc() (and write_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 as occurrence.csv (previously dwc_occurrence.csv) and adds a meta.xml file. The sex and life stage of the animal are - in addition to dwc:sex and dwc:lifeStage in occurrence.csv - expressed in an Extended Measurement Or Facts extension 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).
Other
- 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 of move2::movebank_get_vocabulary() (#60).
- Sanne Govaert is added as author.
movepub 0.3.0
write_dwc() now makes use of {dplyr} rather than SQL for its transformation. This reduces the number of dependencies (#61).
movepub 0.2.0
- As per OBIS recommendations,
write_dwc() now adds a scientificNameID to all occurrences, with the WoRMS LSID for that taxon. It does so using the new get_aphia_id().
- The cli package is now used for all messages.