Two questions, Exporting to JSOn and Exporting value labels in data

Discussions about tools to complement CSPro data processing
Post Reply
msoni
Posts: 32
Joined: February 19th, 2024, 11:38 am

Two questions, Exporting to JSOn and Exporting value labels in data

Post by msoni »

Hello and greetings
I need suggestion for below two questions.

1. Is there a way to export CSPro dictionary into JSon file format?
2. Is there a way to export value labels instead of values (default) when exporting the data? Like, if yes =1, No=2 is value set, bydefault in export data, 1 or 2 comes in data, i want it to be Yes or No.

Please suggest
Thanks
Msoni
Gregory Martin
Posts: 1860
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: Two questions, Exporting to JSOn and Exporting value labels in data

Post by Gregory Martin »

1) If you're using CSPro 8.0+, the dictionary file is in JSON format.

2) What format are you exporting to? For example, if you export to Excel format, you can export labels. The help page gives an example of how to use connection string properties to do this:

https://www.csprousers.org/help/CSPro/d ... excel.html
OutputData=housing.xlsx|writeLabels=true&record=HOUSING_REC
Post Reply