find_market_file: Find the market file for the food group

Description Usage Arguments Details Value

View source: R/data.R

Description

First, filter files:

Usage

1
2
3
4
5
find_market_file(
  dir,
 
    pattern_to_exclude = "^interview__|^assignment__|^autre2releve_|^unites[Aa]utre2|^autre1releve_|^unites[Aa]utre1|^releve_|^unitesFixes_"
)

Arguments

dir

Character. Directory whose files to search for the market file.

pattern_to_exclude

Character. Regular expression of files that are not the market file.

Details

Then, retain as the market file the only file remaining.

Value

Character. Name of the market file, with extension


arthur-shaw/nsuoutils documentation built on Dec. 19, 2021, 4:41 a.m.