ENH: Add data parsing function

Closes #79.

@drammock this is be ready for review and discussion of how to change/adapt/extend the API, only WIP because it's missing an example. You can review it now if you want, but I think the example will make it easier for you to see the functionality.