A SvelteKit-based web service for downloading employment forecast data from the 2025 Employment Projections Dashboard.
This service provides programmatic access to employment projection data through URL-based parameters, allowing users to download filtered datasets in Excel format. The service supports filtering by occupation (ANZSCO codes), industry (ANZSIC codes), and geographical regions.
/download/{parameter}={value1+value2}/{parameter2}={value3}
Single occupation download:
/download/occupation=1111
Multiple occupations:
/download/occupation=1111+2222+3333
Multi-dimensional filtering:
/download/occupation=1111/industry=1
/download/occupation=1111/region=metro
/download/industry=1+2/region=metro+barwon
src/
├── lib/
│ ├── components/
│ │ ├── DownloadStatus.svelte # Download progress indicator
│ │ └── FilterSummary.svelte # Filter selection display
│ ├── config/
│ │ └── downloads.js # Download configuration
│ ├── filters/
│ │ └── occupation.js # Data filtering logic
│ ├── services/
│ │ ├── dataLoader.js # Data loading service
│ │ └── excelGenerator.js # Excel file generation
│ ├── utils/ # Utility functions
│ ├── taxonomies/ # ANZSCO/ANZSIC classifications
│ └── scss/
│ └── styles.scss # Optimized Bootstrap imports
└── routes/
├── +layout.svelte # Main layout with navigation
├── +page.svelte # Home page with usage instructions
└── download/
└── [...params]/
└── +page.svelte # Dynamic download handler
# Install dependencies
pnpm install
# Start development server
pnpm dev
# Build for production
pnpm build
# Run linting
pnpm lint
# Run type checking
pnpm typecheck
The project uses a minimal Bootstrap configuration importing only the required components:
This reduces bundle size compared to importing the full Bootstrap library.
The application implements WCAG 2.1 accessibility guidelines including:
The service is configured through:
src/lib/config/downloads.js
: Download configurations and templatessrc/lib/taxonomies/
: Classification systems (ANZSCO, ANZSIC)The application is designed to be deployed as a static site and can be hosted on:
Build the application with pnpm build
and deploy the build/
directory.
© Government of Victoria, 2025