Changes between Initial Version and Version 1 of Initial Incremental Export


Ignore:
Timestamp:
10/31/11 13:56:51 (13 years ago)
Author:
Nick Holden
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Initial Incremental Export

    v1 v1  
     1In November 2011 we began work exporting data from Onyx for the first time.
     2
     3Recognising that data was likely to be incorrect at least in some way this is not considered to be the definitive export, and NO PURGE WILL TAKE PLACE.
     4
     5To manage the load on the server, and limit file sizes, the plan is to manage incremental exports up to date, recognising that this process might need to be repeated later.
     6
     7The task of splitting the export into increments is managed in the export-destinations.xml configuration file, as described in the [[Onyx Export and Purge]] page.
     8
     9Each incremental export will require a specific export-destinations.xml file with inclusion /exclusion criteria tailored to suit. Each stage in the interview needs to be specifically referenced with a stanza in the export-destinations.xml file.
     10
     11
     12
     13Strategy is to conduct exports as follows:
     14
     15Include only interviews with the status COMPLETE, exclude any previously exported.
     16
     17For each increment then have a time window based on the Recruitment Context stage, and specifically the timeStart attribute of the QuestionnaireRun.
     18
     19First run limit this to January through to June of the year 2010:
     20
     21{{{
     22       <script type="INCLUDE">
     23          <javascript>
     24            <![CDATA[($('Participants:Admin.Interview.status').any('COMPLETED')).and($('RecruitmentContextQuestionnaire:QuestionnaireRun.timeStart').year().trim().any('2010')).and($('RecruitmentContextQuestionnaire:QuestionnaireRun.timeStart').month().trim().any('0', '1', '2', '3', '4', '5'))]]> // COMPLETE status only and year = 2010 and month 0 = January through to 5 = June
     25          </javascript>
     26        </script>
     27        <script type="EXCLUDE">
     28          <javascript>
     29            <![CDATA[$('Participants:Admin.Interview.exportLog.destination').any('BRICCS.Participants')]]> // i.e. exclude if previously exported
     30          </javascript>
     31        </script>
     32}}}
     33
     34
     35Second run, extend the month limit through to 6 = July
     36
     37Third run, extend the month limit through to 7 = August
     38
     39Fourth run, extend the month limit through to 8 = September
     40
     41Fifth run, extend the month limit through to 9 = October
     42
     43Sixth run, extend the month limit through to 10 = November
     44
     45Seventh run, extend the month limit through to 11 = December
     46
     47Eighth run, remove the year limit, and set month limit back to 0 = January (should include only January 2011 participants)
     48
     49Ninth run, extend the month limit through to 1 = February
     50
     51Tenth run, extend the month limit through to 2 = March
     52
     53Eleventh run, extend the month limit through to 3 = April
     54
     55Twelfth run, extend the month limit through to 4 = May
     56
     57Thirteenth run, extend the month limit through to 5 = June (will start to possibly pick up 2010 cases again, but not if previously exported)
     58
     59Fourteenth run, extend the month limit through to 6 = July
     60
     61Fifteenth run, extend the month limit through to 7 = August
     62
     63Sixteenth run, extend the month limit through to 8 = September
     64
     65Seventeenth run, extend the month limit through to 9 = October
     66
     67Eighteenth run, remove both the year and month limits. Should mop up all remaining unexported interviews.
     68
     69On completion of the 18 runs, the total number of exported interviews should match the total number of COMPLETE interviews in Onyx.
     70