refactored and simplified ckan.R
merge ckan.R, exclude .tex

Merge branch 'master' of github.com:florianm/stats

Conflicts:
	shiny/ckan.R