Skip to content
No description or website provided.
C#
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.nuget
EB.Budget.Parser
lib
.gitignore
EB.Budget.sln
README.md

README.md

Intro

This code can be used to analyze the Danish state budget. You can feed it Html from the government budget database. And you can make it output CSV-formatted content that you can feed to IBM Many Eyes to create visualizations of the budget like this one. Here's a blog post with details.

How to operate the loader

This will cause the site to give you a fully detailed budget for the selected year. It will be several Megabytes. Save the Html in the same directory as the scraper and call it 2013.html for the 2013 budget. The Read(int year) method can now read data for that year.

You can either load the data into a database of your choice, or just analyze it in-memory. The Exporter class has various methods for exporting data to csv.

Something went wrong with that request. Please try again.