Momit_data is wraps system.file to ease Momit examples. Below is a list of datasets provided with the package and the list of the generous providers.

Momit_data(x = "")

Arguments

x

character file(s) names from the example folder, only for example_data

Value

character the full path pointing to Momit/extdata/

Details

You do not need Momit_data for your data. Most of Momit examples use these functions in examples and vignettes. For package testing, R CMD CHECK etc., it is required to find correct locations of these files.

References

Momit_data is adapted from R-pkg by Hadley Wickham.

Example files are organized in subfolders and data providers are listed below. Thanks a lot to them!

  • .chc file in chc/ was generated by SHAPE by Hisato Iwata and colleagues and generously shared by Callie Crawford

  • .tps files in tps/ were generated using tpsDig by James Rohlf and generously provided by Allowen Evin (AE/), Julien Claude and Coline Verot (JC/)

  • .txt files were generated using ImageJ by myself.

The vitis/ folder is intended as a minimal case of a real world database. It is at heart of the "Survival guide for handling a database" vignette (todo). jpg files in raw/ come from a huge collection of modern grapevine pips and were generously provided by Laurent Bouby, Sarah Ivorra, Vincent Bonhomme, Clémence Pagnoux, Thierry Pastor and Jean-Frédéric Terral. Three folders of this database were extracted with only 3 individuals. Image size was largely decreased to cope with CRAN standards. Structure of filenames was generously messed up. csv in meta/ is a toy example of a covariate spreadsheet.

Examples

# List all example data Momit_data() %>% sniff()
#> ℹ sniffing files in /tmp/RtmpuCmU8O/temp_libpath3e5420e10ed6/Momit/extdata/
#> # A tibble: 44 x 5 #> size path path_dir file ext #> <fs::byt> <fs::path> <chr> <chr> <chr> #> 1 348 /tmp/RtmpuCmU8O/temp_libpat… /tmp/RtmpuCmU8O/temp_… 3parts.m… mom #> 2 1.25K /tmp/RtmpuCmU8O/temp_libpat… /tmp/RtmpuCmU8O/temp_… Momit_bo… mom #> 3 348 /tmp/RtmpuCmU8O/temp_libpat… /tmp/RtmpuCmU8O/temp_… Momit_th… mom #> 4 127 /tmp/RtmpuCmU8O/temp_libpat… /tmp/RtmpuCmU8O/temp_… amrut.mom mom #> 5 129 /tmp/RtmpuCmU8O/temp_libpat… /tmp/RtmpuCmU8O/temp_… ballanti… mom #> 6 130 /tmp/RtmpuCmU8O/temp_libpat… /tmp/RtmpuCmU8O/temp_… brahma.m… mom #> 7 130 /tmp/RtmpuCmU8O/temp_libpat… /tmp/RtmpuCmU8O/temp_… bushmill… mom #> 8 128 /tmp/RtmpuCmU8O/temp_libpat… /tmp/RtmpuCmU8O/temp_… caney.mom mom #> 9 125 /tmp/RtmpuCmU8O/temp_libpat… /tmp/RtmpuCmU8O/temp_… chimay.m… mom #> 10 128 /tmp/RtmpuCmU8O/temp_libpat… /tmp/RtmpuCmU8O/temp_… chivas.m… mom #> # … with 34 more rows #> ❯mom_tbl