R package of functions and data used by New Zealand's Ministry of Business, Innovation and Employment