Data label and values

Hi!

I was trying to clean the dataset and wanted to show the labels( factor) corresponding to the value (numeric); however, it seems that the labels I set up on Architect cannot be decoded. Only the values may appear on the dataset. I just wanted to confirm if the labels are attached to the values on the exported data and can be decoded?

Thank you!
Jenny

Hi Jenny

I assume you are talking about coding categorical/ordinal variables? I’m afraid the labels are just for the participant. The values are what is encoded in the data output file, because we assume this will be the basis of the analysis.

If you need to add the labels back in, you will need to create a lookup table between your values and your labels.

@tomwolff may be able to tell you if his ideanet package is capable of doing this automatically when given the protocol file.

Hi Joshua!

I will be interested in learning about the ideanet package from @tomwolff ! Also, is ideanet a R package? I am asking because most of my colleagues use STATA.

Thanks,
Jenny

Hi all,

ideanet is an R package, but its function for reading in Network Canvas data produces data frames that can easily be exported to CSV files that STATA should be able to read.

As for the data label issue, ideanet’s nc_read function operates under the same assumption that Josh described earlier: that the values are the basis of the analysis and that the labels are merely user-facing. You would still have to create a lookup table if you used ideanet to read in your data.

That said, I could patch in support for adding labels back in, but this would only be available via ideanet’s GitHub install for the time being. @Joshua, let me know if this is an update we’d definitely want and I can work on it this week.