Loading...
Follow the link to the origin of the table

click : here to select part of table


Post this (httpRequest) to include table in your program:

Url:
http://bank.stat.gl/api/v1/en/Greenland/EN/EN20/ENX2IEB.px
Query:


Example in R, copy/paste code and edit pxpath :

library(httpRequest)
library(rjstat)
library(pxR)
host <- "bank.stat.gl"
path <- "http:/api/v1/en/Greenland/EN/EN20/ENX2IEB.px"
data <- '

'
d1 <- simplePostToHost(host, path, data, contenttype="text/px")
k1 <- sub("[^§]*§", "", sub("\r\n\r\n", "§", d1))
sink('c:/pxpath/file.px')
cat(k1)
sink()
my.px.object <- read.px("c:/pxpath/file.px")
helloWorld <- as.data.frame( my.px.object )
Chart Comming soon?

MaybeBaby
en-GL
http://bank.stat.gl/api/v1/en/Greenland/EN/EN20/ENX2IEB.px
Energy Imports, Exports and Bunkers by product, activity and time
{"title":"Energy Imports, Exports and Bunkers by product, activity and time","variables":[{"code":"unit","text":"unit","values":["0","1"],"valueTexts":["Giga Joule","m3"]},{"code":"product","text":"product","values":["0","1","2","3","4","5","6"],"valueTexts":["Gasoline","Diesel Fuel Arctic","Aviation Gasoline","Fueloil","Gas oil","Jet Fuel/Kerosene","LPG"]},{"code":"activity","text":"activity","values":["0","1","2"],"valueTexts":["Imports","Exports","Bunkers"]},{"code":"time","text":"time","values":["0","1","2","3","4","5","6","7","8","9","10","11","12"],"valueTexts":["2004","2005","2006","2007","2008","2009","2010","2011","2012","2013","2014","2015","2016"],"elimination":true,"time":true}]}

Data Preview

http://bank.stat.gl/api/v1/en/Greenland/EN/EN20/ENX2IEB.px