Module:CountryData/cacheU
local CountryData = require('Module:CountryData')
local pages = {'British_Columbia', 'British_Virgin_Islands', 'Connecticut', 'Cook_Islands', 'Empire_of_Japan', 'French_Polynesia', 'Marshall_Islands', 'New_Caledonia', 'North_Carolina', 'Pennsylvania', 'South_Carolina', 'United_Nations'}
local p = {
data = {}
}
local frame = mw.getCurrentFrame()
for _,v in ipairs(pages) do
p.data[v] = CountryData.gettable(frame, v, {})
end
return p