Description Usage Arguments Details Value
First, filter files:
those with a .dta extension
those that do not start with prefixes associated with other files (e.g., "interview__", "assignment__", "unitesFixes", etc.)
1 2 3 4 5 | find_market_file(
dir,
pattern_to_exclude = "^interview__|^assignment__|^autre2releve_|^unites[Aa]utre2|^autre1releve_|^unites[Aa]utre1|^releve_|^unitesFixes_"
)
|
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. |
Then, retain as the market file the only file remaining.
Character. Name of the market file, with extension
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.