We have a script in Quality assurance > Data file information/Directory
That creates an output of the labels/codes, but not the underlying code itself.