Preparing the Excel Spreadsheet for Te Pukenga Base Learner Upload 

Estimated time: 15mins per sheet 

 

Check Data Extract 

Ensure columns are as follows (correct spelling and order – no missing columns)  

  • achieved_credits 

  • date_of_birth 

  • disability_identified_code 

  • employer_head_office 

  • employment_location_tla_code 

  • english_second_language_identified_flag 

  • ethnicity1_code 

  • ethnicity2_code 

  • expected_credits 

  • funding_source_code 

  • gender_code 

  • industry_code 

  • iwi1_code 

  • iwi2_code 

  • nsn 

  • prior_activity_code 

  • programme_completion_date 

  • programme_credit 

  • programme_duration 

  • programme_level 

  • programme_name 

  • programme_number 

  • programme_withdrawal_date 

  • provider_code 

  • reporting_year 

  • self_reported_highest_secondary_qualification_code 

  • self_reported_last_secondary_school_code 

  • self_reported_last_secondary_school_year 

  • student_id 

  • total_number_of_completed_unit_standards 

  • total_number_of_unit_standards 

 

 

 

 

 

 

 

 

Formatting the Spreadsheet 

Required - Install Kutools for Excel (this is used to prefix and suffix the ") 

  1. Run find and replace for gender_code (1 = M, 2 = F) 

  1. Run find a replace for disability identified (0 = 1,   

  1. Convert the date_of_birth column to date format YYYY-MM-DD 

  1. Select this column and copy content 

  1. Paste the data into Notepad 

  1. Back in the spreadsheet, delete the entire date_of_birth column  

  1. Add a blank column back into the same location 

  1. Set the format of the column to text 

  1. Copy the content from NotePad and paste to the column 

  1. Repeat steps 2 – 8 for the columns  
        programme_completion_date  
           - programme_withdrawal_date 

  1. Select the data for column employment_location_tla_code 

  1. Format it as a custom column with 3 zeros 
     

  1.  Use Kutools to add " before all first characters 

  1. Use Kutools to add " after last characters 

  1. Use find and replace to locate blank cells and replace with "" 

 
Save as .CSV with the name itr_enrolment_[provider code]_YYYY(reporting year)_YYYYMM(extract year & month), e.g., itr_enrolment_8022_2019_202207 

 

 

Uploading the spreadsheet 
(Note: only named users who are part of the Te Pukenga team can access the VPN)  

Connect to the VPN using attached instructions  Te Pūkenga - Instructions - Configure User to Access the Secure VPN - v2 .pdf 

 

Connect to https://portal.azure.com/#@tepukenga.ac.nz/resource/subscriptions/96875c6e-b722-42b6-b026-57aac3faa18b/resourceGroups/rg-test-data/providers/Microsoft.Storage/storageAccounts/tpadlstesttransientdata/containersList and upload the file to the Base Data folder