local export = {}

for code, data in pairs(require("Module:families/data")) do
	export[data[1]] = code
end
for code, data in pairs(require("Module:families/data/etymology")) do
	export[data[1]] = export[data[1]] or data.main_code or code
end

return export