Module:Families/by name

local export = {}

for code, data in pairs(mw.loadData("Module:families/data")) do	export[data.canonicalName] = code end

return export