Exemplo n.º 1
0
def info(id='all'):
    '''Print a user report of databases

    Arguments:
        id:         a database identifier or list-like

    Returns:
        None
    '''
    
    return w.Featureset(list(id), ['id', 'name'])
Exemplo n.º 2
0
def info(id='all'):
    '''Print a user report of time features

    Arguments:
        id:         a time identifier or list-like

    Returns:
        None
    '''

    return w.Featureset(list(id))
Exemplo n.º 3
0
def info(id='all'):
    '''Print a user report of lending groups

    Arguments:
        id:         a lending group identifier or list-like of identifiers

    Returns:
        None
    '''

    return w.Featureset(list(id))
Exemplo n.º 4
0
def info(id='all'):
    '''Print a user report of series. This can be time consuming
    for large databases like the WDI if 'all' series are requested.

    Arguments:
        id:         a series identifier or list-like of identifiers

    Returns:
        None
    '''

    return w.Featureset(list(id))
Exemplo n.º 5
0
def info(id='all', group=None):
    '''Print a user report of regions.

    Arguments:
        id:         a region identifier or list-like of identifiers

        group:      subgroup to return. See list() for possible values

    Returns:
        None
    '''

    return w.Featureset(list(id, group=group), ['code', 'name'])
Exemplo n.º 6
0
def info(id='all',skipAggs=False):
    '''Print a user report of economies

    Arguments:
        id:         an economy identifier or list-like

        skipAggs:   skip aggregates

    Returns:
        None
    '''

    return w.Featureset(list(id, skipAggs=skipAggs), ['id', 'value', 'region', 'incomeLevel'])
Exemplo n.º 7
0
def info(id='all', q=None):
    '''Print a user report of databases

    Arguments:
        id:         a database identifier or list-like

        q:          search string (on source name)

    Returns:
        None
    '''
    
    return w.Featureset(list(id, q=q), ['id', 'name', 'code', 'concepts', 'lastupdated'])
Exemplo n.º 8
0
def info(id='all', q=None, db=None):
    '''Print a user report of time features

    Arguments:
        id:         a time identifier or list-like

        q:          search string (on value name)

        db:         database; pass None to access the global database

    Returns:
        None
    '''

    return w.Featureset(list(id, q=q, db=db))
Exemplo n.º 9
0
def info(id='all',q=None, skipAggs=False, db=None):
    '''Print a user report of economies

    Arguments:
        id:         an economy identifier or list-like

        q:          search string (on economy name)

        skipAggs:   skip aggregates

        db:         database: pass None to access the global database

    Returns:
        None
    '''

    return w.Featureset(list(id, q=q, skipAggs=skipAggs, db=db), ['id', 'value', 'region', 'incomeLevel'])
Exemplo n.º 10
0
def info(id='all', q=None):
    '''Print a user report of topics

    Arguments:
        id:         a region identifier or list-like of identifiers

        q:          search string (on topic name)

    Returns:
        None
            
    Notes:
        The topic list is global to the entire API and is not specific to the current database.

    '''

    return w.Featureset(list(id, q=q))
Exemplo n.º 11
0
def info(id='all', q=None, topic=None, db=None):
    '''Print a user report of series. This can be time consuming
    for large databases like the WDI if 'all' series are requested.

    Arguments:
        id:         a series identifier or list-like of identifiers

        q:          search string (on series name))

        topic:      topic ID or list-like

        db:         database; pass None to access the global database

    Returns:
        None
    '''

    return w.Featureset(list(id, q=q, topic=topic, db=db))
Exemplo n.º 12
0
def info(id='all', q=None, group=None):
    '''Print a user report of regions.

    Arguments:
        id:         a region identifier or list-like of identifiers

        q:          search string (on region name)

        group:      subgroup to return. See list() for possible values

    Returns:
        None
            
    Notes:
        The region list is global to the entire API and is not specific to the current database.

    '''

    return w.Featureset(list(id, q=q, group=group), ['code', 'name'])