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
-
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
-
name
¶ returns the name of this dataset
-