-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Array import magic #365
base: master
Are you sure you want to change the base?
Array import magic #365
Conversation
Codecov Report
@@ Coverage Diff @@
## master #365 +/- ##
==========================================
- Coverage 90.37% 90.22% -0.16%
==========================================
Files 115 116 +1
Lines 7325 7354 +29
==========================================
+ Hits 6620 6635 +15
- Misses 705 719 +14
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #365 +/- ##
==========================================
- Coverage 90.37% 90.22% -0.16%
==========================================
Files 115 116 +1
Lines 7325 7354 +29
==========================================
+ Hits 6620 6635 +15
- Misses 705 719 +14
Continue to review full report at Codecov.
|
Array/MR variables coming in from SPSS or other lossy file formats generally need some work to reconstruct the "right" metadata because they have to shove both parent and subvariable metadata into the "varlabels" of the subvariables. This often follows a pattern of having varlabels with a prefix containing the parent question wording (description) and a suffix that is the actual response label. (We also do this when we "unbind" an array.)
These functions allow us to detect this metadata pattern and attempt to repair it.
To do:
makeArray()
so that this detection happens when the array is createdUltimately we may want this done server side, but this will help us now and will inform any backend implementation.