There's a book called something like "Bawdy Ballads" which I have 'somewhere' (just looked - can't find it!).
.
Being compiled by Roy Bailey (or someone of equal standing) it is well researched and will probably cover the sorts of variations sought.
Ian Fyvie