{"action":"created","issue":{"url":"https://api.github.com/repos/Quantipy/quantipy/issues/11","labels_url":"https://api.github.com/repos/Quantipy/quantipy/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/Quantipy/quantipy/issues/11/comments","events_url":"https://api.github.com/repos/Quantipy/quantipy/issues/11/events","html_url":"https://github.com/Quantipy/quantipy/pull/11","id":98016919,"number":11,"title":"Convert delimited set values to ints from strings.","user":{"login":"jamesrkg","id":5341764,"avatar_url":"https://avatars.githubusercontent.com/u/5341764?v=3","gravatar_id":"","url":"https://api.github.com/users/jamesrkg","html_url":"https://github.com/jamesrkg","followers_url":"https://api.github.com/users/jamesrkg/followers","following_url":"https://api.github.com/users/jamesrkg/following{/other_user}","gists_url":"https://api.github.com/users/jamesrkg/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesrkg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesrkg/subscriptions","organizations_url":"https://api.github.com/users/jamesrkg/orgs","repos_url":"https://api.github.com/users/jamesrkg/repos","events_url":"https://api.github.com/users/jamesrkg/events{/privacy}","received_events_url":"https://api.github.com/users/jamesrkg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-29T19:55:44Z","updated_at":"2015-07-29T20:57:51Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Quantipy/quantipy/pulls/11","html_url":"https://github.com/Quantipy/quantipy/pull/11","diff_url":"https://github.com/Quantipy/quantipy/pull/11.diff","patch_url":"https://github.com/Quantipy/quantipy/pull/11.patch"},"body":"A recent change in the requirements of meta definitions means that all values must be ints and not strings. I'm just making this change to the Example Data (A).json example dataset.\r\n\r\nChange example - before:\r\n\r\n```python\r\n\"q8\": {\r\n      \"text\": {\r\n        \"en-GB\": \"Which of the following do you regularly skip?\"\r\n      },\r\n      \"values\": [\r\n        {\r\n          \"text\": {\r\n            \"en-GB\": \"Breakfast\"\r\n          },\r\n          \"value\": \"1\"\r\n        },\r\n        {\r\n          \"text\": {\r\n            \"en-GB\": \"Mid-morning snacking\"\r\n          },\r\n          \"value\": \"2\"\r\n        },\r\n        {\r\n          \"text\": {\r\n            \"en-GB\": \"Lunch\"\r\n          },\r\n          \"value\": \"3\"\r\n        },\r\n        {\r\n          \"text\": {\r\n            \"en-GB\": \"Mid-afternoon snacking\"\r\n          },\r\n          \"value\": \"4\"\r\n        },\r\n        {\r\n          \"text\": {\r\n            \"en-GB\": \"Dinner\"\r\n          },\r\n          \"value\": \"5\"\r\n        },\r\n        {\r\n          \"text\": {\r\n            \"en-GB\": \"None of them\"\r\n          },\r\n          \"value\": \"96\"\r\n        },\r\n        {\r\n          \"text\": {\r\n            \"en-GB\": \"Don't know (it varies a lot)\"\r\n          },\r\n          \"value\": \"98\"\r\n        }\r\n      ],\r\n      \"name\": \"q8\",\r\n      \"type\": \"delimited set\"\r\n}\r\n```\r\n\r\nAfter:\r\n\r\n```python\r\n\"q8\": {\r\n      \"text\": {\r\n        \"en-GB\": \"Which of the following do you regularly skip?\"\r\n      },\r\n      \"values\": [\r\n        {\r\n          \"text\": {\r\n            \"en-GB\": \"Breakfast\"\r\n          },\r\n          \"value\": 1\r\n        },\r\n        {\r\n          \"text\": {\r\n            \"en-GB\": \"Mid-morning snacking\"\r\n          },\r\n          \"value\": 2\r\n        },\r\n        {\r\n          \"text\": {\r\n            \"en-GB\": \"Lunch\"\r\n          },\r\n          \"value\": 3\r\n        },\r\n        {\r\n          \"text\": {\r\n            \"en-GB\": \"Mid-afternoon snacking\"\r\n          },\r\n          \"value\": 4\r\n        },\r\n        {\r\n          \"text\": {\r\n            \"en-GB\": \"Dinner\"\r\n          },\r\n          \"value\": 5\r\n        },\r\n        {\r\n          \"text\": {\r\n            \"en-GB\": \"None of them\"\r\n          },\r\n          \"value\": 96\r\n        },\r\n        {\r\n          \"text\": {\r\n            \"en-GB\": \"Don't know (it varies a lot)\"\r\n          },\r\n          \"value\": 98\r\n        }\r\n      ],\r\n      \"name\": \"q8\",\r\n      \"type\": \"delimited set\"\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/Quantipy/quantipy/issues/comments/126093926","html_url":"https://github.com/Quantipy/quantipy/pull/11#issuecomment-126093926","issue_url":"https://api.github.com/repos/Quantipy/quantipy/issues/11","id":126093926,"user":{"login":"jamesrkg","id":5341764,"avatar_url":"https://avatars.githubusercontent.com/u/5341764?v=3","gravatar_id":"","url":"https://api.github.com/users/jamesrkg","html_url":"https://github.com/jamesrkg","followers_url":"https://api.github.com/users/jamesrkg/followers","following_url":"https://api.github.com/users/jamesrkg/following{/other_user}","gists_url":"https://api.github.com/users/jamesrkg/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesrkg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesrkg/subscriptions","organizations_url":"https://api.github.com/users/jamesrkg/orgs","repos_url":"https://api.github.com/users/jamesrkg/repos","events_url":"https://api.github.com/users/jamesrkg/events{/privacy}","received_events_url":"https://api.github.com/users/jamesrkg/received_events","type":"User","site_admin":false},"created_at":"2015-07-29T20:57:51Z","updated_at":"2015-07-29T20:57:51Z","body":"You'd only notice this if you were trying to convert to SAV using ``quantipy.core.dp.tools.io.write_spss()``, so I wouldn't worry too much. In the case that you do have a file you converted from some other format a while ago, then you should just re-convert them to Quantipy and this will already be sorted out for you."}}