filter_by_filepath_substring: Filter by filepath substring

View source: R/filter.R

filter_by_filepath_substringR Documentation

Filter by filepath substring

Description

Filters a data.table with filepaths using the specified substring (e.g. remove all filepaths which contain the word 'test' anywhere in it)

Usage

filter_by_filepath_substring(dt_file, substring, file_column_name)

Arguments

dt_file

any data.table containing filepaths

substring

a character vector of substrings (e.g. c(py,java)) we wish to *filter*

file_column_name

a string indicating the column name which contains filepaths

Value

a data.table which contains does *not* contain filepaths with the specified words

See Also

parse_gitlog and parse_dependencies to create dt_file

Other filters: filter_by_commit_interval(), filter_by_commit_size()


sailuh/kaiaulu documentation built on Dec. 10, 2024, 3:14 a.m.