<commit_before><commit_msg>Add a README<commit_after># todaysvote.ca

*Stay up to date with what Canada’s House of Commons is voting on each day.*

Today's Vote was written both because I wanted it to exist for myself and I thought it would be a good entry to programming with Go. It makes it easier to see how Canada's elected representatives are voting as soon as they do.

There are two parts that make it work: a worker that is run once daily and a server.

The server is seriously just a plain ole' Go file server tweaked to serve everything gzipped. (That's it.)

The worker does all of the hard stuff to make the server's job easy. First it pulls and digests the data from the Parliament of Canada site. It stores it in a Postgres table, although nothing is really done with that yet. I'm currently using the Bing Translation API (I wrote a little [package](http://github.com/interstateone/translate) for this) to massage the vote descriptions that are provided, as they're faulty. Next it renders three files: a JSON feed, an RSS feed and the static HTML homepage. Lastly it fires any new vote information to Buffer (made another [package](http://github.com/interstateone/bufferapi)) to be posted on Twitter at a set interval throughout the day.

Today's Vote is hosted on Heroku using the [Go buildpack](https://github.com/kr/heroku-buildpack-go).

If you notice any issues or have feedback on the code, please open an issue or get in touch with me on [Twitter](http://twitter.com/interstateone).

Today's Vote is released under an MIT license, see the LICENSE file for more info.
{'fraction_non_alphanumeric': 0.05601006922592826, 'fraction_numerical': 0.0, 'mean_word_length': 4.3355704697986575, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6826736', 'n_tokens_mistral': 416, 'n_tokens_neox': 391, 'n_words': 253}