num_meta_files: Get the number of metadata files

View source: R/get-num-files-ids.R

num_meta_filesR Documentation

Get the number of metadata files

Description

Get the number of metadata files in a study.

Usage

num_meta_files(study_view, num_docs = NULL)

Arguments

study_view

The file view for the study files. At minimum, the study_view is a dataframe or tibble with 'metadataType' as a column name. Any 'NA' in this column is assumed to be documentation files, all others are assumed to be metadata files.

num_docs

Number of document files that are in the 'study_view'. If 'NULL', will call 'num_doc_files()' to get the value. This is here in case that the number of document files is known already.

Value

The number of metadata files present in the 'study_view'.


Sage-Bionetworks/dccmonitor documentation built on May 28, 2022, 10:39 a.m.