Given a YAML field name, find the (R) Markdown files that contain this field
and its value contains any of the specified values. Functions
find_tags()
and find_categories()
are wrappers of
find_yaml()
with field = 'tags'
and field =
'categories'
, respectively; count_fields()
returns the frequency
tables of the specified YAML fields, such as the counts of tags and
categories.
Arguments
- field, fields
A character vector of YAML field names.
- value
A vector of the field values to be matched.
- open
Whether to open the matched files automatically.
- sort_by_count
Whether to sort the frequency tables by counts.