Skip to content

STATA pull archive

Vlad Drobinin edited this page Jun 10, 2021 · 1 revision

STATA Pull

Steps for the stata pull in order to generate scannedvars.csv. Quite dated but might be useful for reference one day

Dependencies for running the pull script:

  • scid folder on local disk / relative path
  • cantab files cgt.dta
    • note, so a 3rd script is needed crcantab.do
      • along with accompanying cantab[date].xlsx file
  • PLE spreadsheet
  • scanned ids (now includes all)
  • any additional custom functions or packages have been installed if setting up on new computer

Pull FORBOW data

  1. run pull-forbow-files-[date].do
  • modify dates and paths in the script as needed
  1. run crcantab.do
  • making sure the right cantab[date].xlsx is in the folder
  1. run cr-forbow-[date].do
  2. When successful copy the generated scannedvars-[date].csv to S:\FORBOW\NEURO\behavioural_data
  3. Update the 'WeeklySend-NeuroLog' in the 'behavioural_data' folder
  4. Copy the neuro output from PBIL to this directory as well
Clone this wiki locally