Actions
Support #1925
openImporting data to R - converting from wide to long error
Status:
Resolved
Priority:
High
Assignee:
-
Category:
Data documentation
Start date:
06/20/2023
% Done:
100%
Description
I've been trying to read in data (a stata file) in R, tidy and convert from wide to long format using the code shared below:
However I keep getting an error when trying to convert from wide to long (Error in 'vec_cast.haven_labelled.haven_labelled()': Can't convert from 'value' <labelled<double>> to <labelled<double>> due to loss of precision) - see attached screenshot.
Has anyone come across this issue before? Does anyone know a solution?
Matt
Files
Actions