-
Notifications
You must be signed in to change notification settings - Fork 0
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
Check that recent ESSGlobal extensions are being read by sausage factory #54
Comments
What would it take for this to be automatic? Does something manual need to be done for each import script? |
Can you check this today? I'm hoping it will be an easy fix, at least for Liverpool. Need to get them running again. I have told them not to do any more durvey entries until this is resolved. |
Conversed briefly with Dean earlier on Discord, only a few sentences, but I gather he's busy all today until 5ish. I'd help but I haven't been involved with the work so far, so not clear on what to look at? |
Currently hunting for the problem (so I can track down the cause!) I infer this means the "Transport" category is not being picked up somehow. And the AM-whatever IDs mentioned. I'm looking in the Mersey data. Which initiatives specifically are being miscategorised/missed? |
Wirral Environmental Network listed Transport as a secondary activity. That is how the issue was noticed. |
That initiative, ID 121, has these secondary activities if I regenerate the standard.csv data:
So no transport. Looks like the |
Have you looked in the raw csv from Limesurvey? |
re. Automating this. This is where the look ups are done for Mersey/Oxford/Newbridge: And this is the response for WEN. Currently the secondary categories are checkboxes, with names and IDs which don't match the equivalent vocab ID in any way which can be inferred without some look-up index. If we want this to be automatic, we need ESS Global vocab terms in the results somewhere, or perhaps to autogenerate the look-up indexes somehow. Perhaps if we could name them like |
Yes, unless I'm mistaken, that has a |
Is Limesurveycore.rb the only place where you need to add the new terms? If so, it's probably fine just to make the required changes here, unless you have a suggestion for automation? |
Yes, this is the only place for data sourced from Lime Survey. I'll alter the hardwired index for now, I can't currently think of a nice way to automate it. |
Can you do this today? They want to populate it before the launch next week. When you do it canyou check it is rippling through to the dialog too? |
Yes, hope to get it done today. Was trying to work out what the exact list of new terms was... turned out not to be so obvious which file was saying what, or why the makefile does what it does. However, having slept on it I think I should go and look at the lime survey questions. This may not be comprehensive, but it should be enough for Mersey. Also, if you can point me at anything which can short-cut this search, also welcome. |
It is just AM130, Am140, AM150, AM160. & Transport |
They have direct analogies in Q7 & 8 in Liverpool limesurvey. |
FYI @wu-lee there may be someone doing a test survey entry on https://solidarityeconomyassociation.limequery.com/201102?lang=en today. Hope that doesn't mess with anything you are doing. |
Should be fine. |
Ok, so short version is, I think these values are propagating all the way through the sausage factory to the web page dialog now. I've checked Wirral Environmental Network on dev and prod, on both it has "Transport" as a secondary activity. Some comments.
|
Wirral Environmental Network isn't on the original Limesurvey? Are prod and dev now both pointing to the newer one https://solidarityeconomyassociation.limequery.com/201102?lang=en ? |
It would be good to get clarity from @dtmakm27 as to the history of these branches restore to 'develop' and master. |
I could definitley benefit from a tidy. There may already be a ticket to conduct a tidy. If you can't see one, please create this a new Issue. |
Not necessarily. It is fine to provide options in a survey which are only a subset of the possibilities. The full set may confuse some users. Next time we review the Oxford and Newbridge surveys we should consider extending. |
I guess this is because each answer option in those questions requires a new column, and then the schema defines these new columns as required? |
I think the issue is the schema is too rigidly structured becasue of how the Limesurvey export csv is structured. Worth a chat to talk through. |
On 11/11/2020 11:31, Colm Massey wrote:
|4\. Finally: having fixed this for Mersey, I find that this means
that Oxford and Newbridge now have a different schema (I checked,
and these new terms are not options in their secondary activities
multiple-choice). So the list of required fields for Mersey
includes fields Oxford and Newbridge don't. And this breaks their
conversion, which is designed to catch mismatches like this and
throw an error. |
I guess this is because each answer option in those questions requires
a new column, and then the schema defines these new columns as required?
Yes, each new column has to be added to the open-data incoming schema
(schema.yml) for it to be noticed. Anything not in there is ignored by
design. This is because all the New/Ox/Mer schemas are slightly
different, but include a common core (or *used to*). At one point any
differences wouldn't be tolerated, but I loosened it to allow
superfluous fields.
N
|
All looking good for Liverpool. Can you now change prod. to get its data from https://solidarityeconomyassociation.limequery.com/201102?lang=en ? |
Ignore this comment. I don't know what happened but when I looked again, all seemed as it should have. |
On 11/11/2020 13:43, Colm Massey wrote:
Ignore this comment. I don't know what happened but when I looked
again, all seemed as it should have.
I do see "Transport" included on WEN's dialog on
https://prod.mersey-green.solidarityeconomy.coop, and this puzzled me,
because when I checked, it is using the original #376295 survey. But
then I see that the survey has had the Transport et. al options added to
that question, which explains it.
|
I have created new tickets for the issues raised in this ticket. Lets close this one once prod.mersey-green is referencing the new survey. |
Ok, updated the |
Are AM130, Am140, AM150, AM160 being read from Limesurvey forms?
It seems that for Liverpool Transport is not being read.
The text was updated successfully, but these errors were encountered: