<commit_before>Polls Demo
=========

This is the demo application for my Dreamforce presentation. 

These are the main rake tasks:-

	* sync_polls - Example of using the REST API to load the polls from Force.com
	* sync_results_pure - Example of using the Bulk API directly.   This builds the XML to create and close the batch.  I'de recommend this technique over the using th GEM
	* sync_results -  Example of using th salesforce_bulk_api gem
	
There is also simple DB encryption of tokens so you'll need the DB_TOKEN environment variable set in order to run.   


Future
------

I may implement a GEM around all of this to manage the OAuth and the REST/Bulk requests......<commit_msg>Fixed readme<commit_after>Polls Demo
=========

This is the demo application for my Dreamforce 2013 presentation. 

There are the main rake tasks:-

	* sync_polls - Example of using the REST API to load the polls from Force.com
	* sync_results_pure - Example of using the Bulk API directly.   
		This builds the XML to create and close the batch.  
		I'de recommend this technique over the using th GEM
	* sync_results -  Example of using th salesforce_bulk_api gem
	
There is also simple DB encryption of tokens so you'll need the DB_TOKEN environment variable set in order to run.   


Future
------

I may implement a GEM around all of this to manage the OAuth and the REST/Bulk requests......
{'fraction_non_alphanumeric': 0.05788712011577424, 'fraction_numerical': 0.002894356005788712, 'mean_word_length': 3.4757281553398056, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '6374611', 'n_tokens_mistral': 396, 'n_tokens_neox': 369, 'n_words': 205}