Is there a way to import spread sheet data into keyframes? (And export keyframes as a spreadsheet?)

I'd imagine that the spreadsheet would involve a column for each channel and a row for each keyframe with it's value per channel.