IstatDataset

class istat.IstatDataset(istat_helper, dataset)[source]
cod

returns the code of this dataset

dimension(spec)[source]

Get dimension according to spec

Parameters:spec – can be a int or a string
Returns:an IstatDimension instance
dimensions()[source]

Get list of dimensions

Returns:list of IstatDimension
getvalues(spec, rtype=<class jsonstat.collection.JsonStatCollection>)[source]

get values by dimensions

Parameters:
  • spec – it is a string for ex. “1,6,9,0,0”
  • type
Returns:

if type is JsonStatCollection return an istance of JsonStatCollection otherwise return a json structure representing the istat dataset

info_dimensions()[source]

print info about dimensions of this dataset

name

returns the name of this dataset

nrdim()[source]

returns the number of dimensions