Annual Inflation by GDP Deflator

JohnSnowLabs

Files Size Format Created Updated License Source
2 1MB csv zip 2 weeks ago John Snow Labs Standard License John Snow Labs World Bank National Accounts Data, ECD National Accounts Data Files.
Download

Data Files

File Description Size Last changed Download Other formats
annual-inflation-by-gdp-deflator-csv [csv] 87kB annual-inflation-by-gdp-deflator-csv [csv] annual-inflation-by-gdp-deflator-csv [json] (733kB)
annual-inflation-by-gdp-deflator_zip [zip] Compressed versions of dataset. Includes normalized CSV and JSON data with original data and datapackage.json. 120kB annual-inflation-by-gdp-deflator_zip [zip]

annual-inflation-by-gdp-deflator-csv  

This is a preview version. There might be more data in the original version.

Field information

Field Name Order Type (Format) Description
Country_Name 1 string Name of the country
ISO3166_Country_Code 2 string ISO 3166-1 alpha-2 country code
Region_Name 3 string Name of the region
Income_Group 4 string Country's income group
Special_Notes 5 string Special notes, if any.
Percent_Annual_Inflation_in_Year_1961 6 number Annual inflation value in percentage in the year 1961
Percent_Annual_Inflation_in_Year_1962 7 number Annual inflation value in percentage in the year 1962
Percent_Annual_Inflation_in_Year_1963 8 number Annual inflation value in percentage in the year 1963
Percent_Annual_Inflation_in_Year_1964 9 number Annual inflation value in percentage in the year 1964
Percent_Annual_Inflation_in_Year_1965 10 number Annual inflation value in percentage in the year 1965
Percent_Annual_Inflation_in_Year_1966 11 number Annual inflation value in percentage in the year 1966
Percent_Annual_Inflation_in_Year_1967 12 number Annual inflation value in percentage in the year 1967
Percent_Annual_Inflation_in_Year_1968 13 number Annual inflation value in percentage in the year 1968
Percent_Annual_Inflation_in_Year_1969 14 number Annual inflation value in percentage in the year 1969
Percent_Annual_Inflation_in_Year_1970 15 number Annual inflation value in percentage in the year 1970
Percent_Annual_Inflation_in_Year_1971 16 number Annual inflation value in percentage in the year 1971
Percent_Annual_Inflation_in_Year_1972 17 number Annual inflation value in percentage in the year 1972
Percent_Annual_Inflation_in_Year_1973 18 number Annual inflation value in percentage in the year 1973
Percent_Annual_Inflation_in_Year_1974 19 number Annual inflation value in percentage in the year 1974
Percent_Annual_Inflation_in_Year_1975 20 number Annual inflation value in percentage in the year 1975
Percent_Annual_Inflation_in_Year_1976 21 number Annual inflation value in percentage in the year 1976
Percent_Annual_Inflation_in_Year_1977 22 number Annual inflation value in percentage in the year 1977
Percent_Annual_Inflation_in_Year_1978 23 number Annual inflation value in percentage in the year 1978
Percent_Annual_Inflation_in_Year_1979 24 number Annual inflation value in percentage in the year 1979
Percent_Annual_Inflation_in_Year_1980 25 number Annual inflation value in percentage in the year 1980
Percent_Annual_Inflation_in_Year_1981 26 number Annual inflation value in percentage in the year 1981
Percent_Annual_Inflation_in_Year_1982 27 number Annual inflation value in percentage in the year 1982
Percent_Annual_Inflation_in_Year_1983 28 number Annual inflation value in percentage in the year 1983
Percent_Annual_Inflation_in_Year_1984 29 number Annual inflation value in percentage in the year 1984
Percent_Annual_Inflation_in_Year_1985 30 number Annual inflation value in percentage in the year 1985
Percent_Annual_Inflation_in_Year_1986 31 number Annual inflation value in percentage in the year 1986
Percent_Annual_Inflation_in_Year_1987 32 number Annual inflation value in percentage in the year 1987
Percent_Annual_Inflation_in_Year_1988 33 number Annual inflation value in percentage in the year 1988
Percent_Annual_Inflation_in_Year_1989 34 number Annual inflation value in percentage in the year 1989
Percent_Annual_Inflation_in_Year_1990 35 number Annual inflation value in percentage in the year 1990
Percent_Annual_Inflation_in_Year_1991 36 number Annual inflation value in percentage in the year 1991
Percent_Annual_Inflation_in_Year_1992 37 number Annual inflation value in percentage in the year 1992
Percent_Annual_Inflation_in_Year_1993 38 number Annual inflation value in percentage in the year 1993
Percent_Annual_Inflation_in_Year_1994 39 number Annual inflation value in percentage in the year 1994
Percent_Annual_Inflation_in_Year_1995 40 number Annual inflation value in percentage in the year 1995
Percent_Annual_Inflation_in_Year_1996 41 number Annual inflation value in percentage in the year 1996
Percent_Annual_Inflation_in_Year_1997 42 number Annual inflation value in percentage in the year 1997
Percent_Annual_Inflation_in_Year_1998 43 number Annual inflation value in percentage in the year 1998
Percent_Annual_Inflation_in_Year_1999 44 number Annual inflation value in percentage in the year 1999
Percent_Annual_Inflation_in_Year_2000 45 number Annual inflation value in percentage in the year 2000
Percent_Annual_Inflation_in_Year_2001 46 number Annual inflation value in percentage in the year 2001
Percent_Annual_Inflation_in_Year_2002 47 number Annual inflation value in percentage in the year 2002
Percent_Annual_Inflation_in_Year_2003 48 number Annual inflation value in percentage in the year 2003
Percent_Annual_Inflation_in_Year_2004 49 number Annual inflation value in percentage in the year 2004
Percent_Annual_Inflation_in_Year_2005 50 number Annual inflation value in percentage in the year 2005
Percent_Annual_Inflation_in_Year_2006 51 number Annual inflation value in percentage in the year 2006
Percent_Annual_Inflation_in_Year_2007 52 number Annual inflation value in percentage in the year 2007
Percent_Annual_Inflation_in_Year_2008 53 number Annual inflation value in percentage in the year 2008
Percent_Annual_Inflation_in_Year_2009 54 number Annual inflation value in percentage in the year 2009
Percent_Annual_Inflation_in_Year_2010 55 number Annual inflation value in percentage in the year 2010
Percent_Annual_Inflation_in_Year_2011 56 number Annual inflation value in percentage in the year 2011
Percent_Annual_Inflation_in_Year_2012 57 number Annual inflation value in percentage in the year 2012
Percent_Annual_Inflation_in_Year_2013 58 number Annual inflation value in percentage in the year 2013
Percent_Annual_Inflation_in_Year_2014 59 number Annual inflation value in percentage in the year 2014
Percent_Annual_Inflation_in_Year_2015 60 number Annual inflation value in percentage in the year 2015
Percent_Annual_Inflation_in_Year_2016 61 number Annual inflation value in percentage in the year 2016

annual-inflation-by-gdp-deflator_zip  

This is a preview version. There might be more data in the original version.

Read me

Import into your tool

If you are using R here's how to get the data you want quickly loaded:

install.packages("jsonlite")
library("jsonlite")

json_file <- "http://datahub.io/JohnSnowLabs/annual-inflation-by-gdp-deflator/datapackage.json"
json_data <- fromJSON(paste(readLines(json_file), collapse=""))

# access csv file by the index starting from 1
path_to_file = json_data$resources$path[1][1]
data <- read.csv(url(path_to_file))
print(data)

In order to work with Data Packages in Pandas you need to install the Frictionless Data data package library and the pandas extension:

pip install datapackage
pip install jsontableschema-pandas

To get the data run following code:

import datapackage

data_url = "http://datahub.io/JohnSnowLabs/annual-inflation-by-gdp-deflator/datapackage.json"

# to load Data Package into storage
storage = datapackage.push_datapackage(data_url, 'pandas')

# data frames available (corresponding to data files in original dataset)
storage.buckets

# you can access datasets inside storage, e.g. the first one:
storage[storage.buckets[0]]

For Python, first install the `datapackage` library (all the datasets on DataHub are Data Packages):

pip install datapackage

To get Data Package into your Python environment, run following code:

from datapackage import Package

package = Package('http://datahub.io/JohnSnowLabs/annual-inflation-by-gdp-deflator/datapackage.json')

# get list of resources:
resources = package.descriptor['resources']
resourceList = [resources[x]['name'] for x in range(0, len(resources))]
print(resourceList)

data = package.resources[0].read()
print(data)

If you are using JavaScript, please, follow instructions below:

Install data.js module using npm:

  $ npm install data.js

Once the package is installed, use the following code snippet:

const {Dataset} = require('data.js')

const path = 'http://datahub.io/JohnSnowLabs/annual-inflation-by-gdp-deflator/datapackage.json'

// We're using self-invoking function here as we want to use async-await syntax:
(async () => {
  const dataset = await Dataset.load(path)

  // Get the first data file in this dataset
  const file = dataset.resources[0]
  // Get a raw stream
  const stream = await file.stream()
  // entire file as a buffer (be careful with large files!)
  const buffer = await file.buffer
})()

Install the datapackage library created specially for Ruby language using gem:

gem install datapackage

Now get the dataset and read the data:

require 'datapackage'

path = 'http://datahub.io/JohnSnowLabs/annual-inflation-by-gdp-deflator/datapackage.json'

package = DataPackage::Package.new(path)
# So package variable contains metadata. You can see it:
puts package

# Read data itself:
resource = package.resources[0]
data = resource.read
puts data
Datapackage.json