Module:UŊCDSO
Documentation for this module may be created at Module:UŊCDSO/doc
local d = mw.loadJsonData "Data:Places"
local _m = {}
_m.number_ung = function(frame)
local count = 0
for _, c in ipairs(d.places) do
if not c.not_ngation and not c.condominium and not c.reason_dissolved and c.ung == "member" then
count = count + 1
end
end
return count
end
_m.number_countries = function(frame)
local count = 0
for _, c in ipairs(d.places) do
if not c.not_ngation and not c.condominium and not c.reason_dissolved then
count = count + 1
end
end
return count
end
_m.table_sovereign = function(frame) end
return _m