Database conversion and normalization in R

The first language I thought to write this in was R.

Thanks,
Anne