Valueset from external Dictionnary refus to export with label.

Discussions about CSEntry
Forum rules
New release: CSPro 8.0
Post Reply
Gillesbop
Posts: 23
Joined: August 11th, 2016, 3:22 am

Valueset from external Dictionnary refus to export with label.

Post by Gillesbop »

Hello,
For the valueset, I had to use an external dictionary to classify them and read the combination of the corresponding values from this external dictionary.

When exporting data, the labels are not there. There are only numeric codes.

So how do I get it to export, I have both the codes and the labels?

Ps: The export is done in stata format.
btri Arjun
Posts: 37
Joined: August 17th, 2018, 6:09 am

Re: Valueset from external Dictionnary refus to export with label.

Post by btri Arjun »

Did you fill up the values and label in the internal/main dictionary? If not copy and pest the label from external dictionary to main dictionary or add the values and try again.
Gregory Martin
Posts: 1777
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: Valueset from external Dictionnary refus to export with label.

Post by Gregory Martin »

One thing people do is export data using a batch program. In this program, you can lookup the labels and then export the label (as text) along with your data. In short, you can:

1) Define your export in the Export Data tool.

2) Select Options -> Copy Logic to Clipboard.

3) Paste that logic into a batch application.

4) Before the export statement, load the labels from your external dictionary.

5) Add the item that has the label to the export statement.

Let us know if you have questions on this approach.
Post Reply