
Classify a documentation file's fine-grained role
Source:R/data_check_helpers.R
dot-data_doc_role.RdWithin data_classify_files()'s coarse "documentation" type, distinguish
the specific artifact: the (collection-level) readme, a codebook, or plain
supplemental text (preprints, slide decks, Word docs). This is the axis
psychds_check uses to decide root-vs-per-study placement and that
codebook_check uses to select which files to parse – orthogonal to
data_type, which only says "this is documentation of some kind."