Conversation
|
I've tried running it, and got this: |
|
I've rebased my copy with the main one and don't get the error when I run it. Are you using the same INI file? That error would be explained if there was an exporter or column that had a colon character in it as the code isn't escaping those. |
|
Having struggled with this all afternoon I've decided to make it error with NotImplemented if someone tries to export the results table. Fiona wants this available and, at the moment I think the UKRDC work is more pressing. I also can't imagine why someone would want to actually do this though as its a non-normalised structure. Where I got to was that when I tried treating it as a "standard" extract something would complain due to its use of getattr when (I think) Python doesn't allow attributes to be defined in anything but ascii. I then tried to write a custom plain_rows function but had problems getting the number of columns to match the number of data items which I couldn't explain. Some of this was possibly due to there being multiple results of a certain type for the same patient/hospital/time. This would also create further difficulties in the naming of columns etc. Just to note as well that as my venv is Python 2.7 I had to install https://github.com/Drekin/win-unicode-console to stop it complaining when I tried to print certain values etc. |
…reg/radar into nurture-dashboard-exporter
This would then need deploying to Live so I can setup a cron job to produce the 2 exports.