cleaning up unused code snippets
updating function documentation
adding error_check function for querying envirofacts structure. not functional at the moment
Merge branch 'master' of github.com:sboysel/rstuff