...
See - https://github.com/renalreg/data_extract/blob/master/scripts/ukrdc_purge.py
UKRR Quarterly Extract
In order not to get behind a year’s clinical data needs to be loaded into the UKRR database in less than a year. There are 4 quarters, approximately 70 sites, and each site can be assumed to require at least two extracts during the course of its processing. This means that at a minimum we need to be capable of generating two files per day but in practice it needs to be much quicker than that.
Incoming File Processing / Decryption
...