Moduli:CountryData/cacheX
local CountryData = require('Module:CountryData')
local pages = {'Arizona', 'Europe', 'Guadeloupe', 'Guernsey', 'Montana', 'Montserrat', 'Netherlands_Antilles', 'Northern_Mariana_Islands', 'Ottoman_Empire', 'Prussia', 'Washington,_D.C.', 'West_Indies'}
local p = {
data = {}
}
local frame = mw.getCurrentFrame()
for _,v in ipairs(pages) do
p.data[v] = CountryData.gettable(frame, v, {})
end
return p