Skip to content

Extracting data from Training.gov.au using a series of scripts (mostly Ruby). The idea is to turn this into usable objects.

License

Notifications You must be signed in to change notification settings

rheinardkorf/oktga

Repository files navigation

oktga

Pronounced as "okay T G A"

A series of scripts (mostly Ruby) to extract Training Package data from Training.gov.au and making it more useful.

oktga is inspired predominently by Peter Shanks and the work that he has done over many years (from TrainingPackages Unwrapped to NTISThis! ).

If you are going to use my Ruby scripts make sure that you also install the relevant Ruby Gems. The gems that I have used are:

  • Savon (The Heavy Metal Soap Client)
  • Nokogiri (An extremely useful and easy HTML/XML parser)

Install using:

gem install nokogiri

gem install savon

In some cases you might have to use 'sudo' if permissions cause a problem.

If you're yet to install Ruby, I highly recommend RVM (Ruby Version Manager) to install Ruby and managing your versions. This has helped me out tremendously.

To get access to the Training.gov.au SOAP services you will need to request access from http://training.gov.au/Home/Enquiry. Thanks Peter for the tip.

Enjoy these scripts and if you end up using it to make something epic (or just something fun), please drop me a line at rheinard@thekorfs.com.

xml folder

The xml folder contains a tree of Training Packages, Qualifications, Skill Sets and the units each contain. This is already extracted and was generated using getTrainingComponents.rb.
These xml files are the input files for getUnitsFromSource.rb.

Example Usage:
ruby getUnitsFromSource.rb xml/TrainingComponents.xml
ruby getUnitsFromSource.rb xml/CHC08_qualifications.xml

About

Extracting data from Training.gov.au using a series of scripts (mostly Ruby). The idea is to turn this into usable objects.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages