Skip to content

Instantly share code, notes, and snippets.

@stupidpupil
Last active December 19, 2015 12:03
Show Gist options
  • Save stupidpupil/c9f0edaa4335f6d6e562 to your computer and use it in GitHub Desktop.
Save stupidpupil/c9f0edaa4335f6d6e562 to your computer and use it in GitHub Desktop.
Set of instructions to setup and import Welsh data into OpenPrescribing
python manage.py create_foreign_keys
python manage.py create_indexes
python manage.py create_matviews
python manage.py import_ccg_boundaries --filename data/org_codes/welsh_localities.kml
python manage.py import_welsh_local_health_board_names
python manage.py import_welsh_locality_names
python manage.py fetch_nwssp_prescribing
python manage.py import_nwssp_practices
python manage.py import_nwssp_chemicals
python manage.py import_bnf_codes
python manage.py convert_nwssp_prescribing
python manage.py import_nwssp_prescribing
python manage.py import_practice_to_welsh_org_relations --filename=data/org_codes/150930-practice-look-up-2014-15-en.xlsx
python manage.py refresh_matviews
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment