Eurostat SDMX dataflow description python
Question: Using python I want to collect a list of all possible dataflows from Eurostat.
I have the following code;

    
    
    from pandasdmx import Request as rq
    estat=rq('ESTAT')
    cat_rsp=estat.get(resource_type='dataflow')
    cat_msg=cat_rsp.msg
    print [i.encode('utf-8') for i in cat_msg.dataflows]
    

this gives me a list of all possible resource_id's but I want also the
descriptors. Is this possible?

Thanks


Answer: Dataflow instances have a `description` attribute if that is what you're
looking for.

    
    
    print [i.description.en for i in cat_msg.dataflows]
    

Since Version 0.4 the preferred method is:

    
    
    df = cat_rsp.write(columns=['name', 'description']).dataflow
    

This Returns a Pandas DataFrame that should contain descriptions on Dataflow
instances.

Note that since version 0.4 the 'dataflows' Attribute of msg is deprecated in
favor of 'dataflow'.

Leo

