getCodelist {CALIBERcodelists} | R Documentation |
Loads the latest version of a codelist in a folder named according to the CALIBER codelist naming policy. The function searches through all subfolders of the folder.
getCodelist(folder = NULL, codelistname = NULL)
folder |
Folder in which to search for the codelist, or the name of the codelist if
|
codelistname |
The name (not filename) of the codelist |
Returns the a codelist
object if the codelist is found, blank otherwise.
This is a convenience function to avoid having to remember the exact location of a codelist file. If one of the arguments is null, the other argument is taken to be the codelist name and the function searches in the current working directory.