예제 #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'])
예제 #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))
예제 #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))
예제 #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))
예제 #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'])
예제 #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'])
예제 #7
0
파일: source.py 프로젝트: tgherzog/wbgapi
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'])
예제 #8
0
파일: time.py 프로젝트: tpike3/wbgapi
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))
예제 #9
0
파일: economy.py 프로젝트: tpike3/wbgapi
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'])
예제 #10
0
파일: topic.py 프로젝트: tpike3/wbgapi
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))
예제 #11
0
파일: series.py 프로젝트: tpike3/wbgapi
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))
예제 #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'])