cbsodata/cbsodata3.py
def _get_table_url(table_id, catalog_url=None):
    """Create a table url for the given table identifier."""

    if catalog_url is None:
        _catalog_url = options.catalog_url
    else:
        _catalog_url = catalog_url

    components = {"http": "https://" if options.use_https else "http://",
                  "baseurl": _catalog_url,
                  "bulk": BULK,
                  "table_id": table_id}

    # http://opendata.cbs.nl/ODataApi/OData/37506wwm
    return "{http}{baseurl}/{bulk}/{table_id}/".format(**components)
Create a table url for the given table identifier.
Create a table url for the given table identifier.
Create a table url for the given table identifier .
def _get_table_url(table_id, catalog_url=None):
    if catalog_url is None:
        _catalog_url = options.catalog_url
    else:
        _catalog_url = catalog_url
    components = {"http": "https://" if options.use_https else "http://",
                  "baseurl": _catalog_url,
                  "bulk": BULK,
                  "table_id": table_id}
    return "{http}{baseurl}/{bulk}/{table_id}/".format(**components)
def _get_table_url ( table_id , catalog_url = None ) : if catalog_url is None : _catalog_url = options . catalog_url else : _catalog_url = catalog_url components = { "http" : "https://" if options . use_https else "http://" , "baseurl" : _catalog_url , "bulk" : BULK , "table_id" : table_id } return "{http}{baseurl}/{bulk}/{table_id}/" . format ( ** components )
Create a table url for the given table identifier.
Create a table url for the given table identifier .
"""Create a table url for the given table identifier.""" # http://opendata.cbs.nl/ODataApi/OData/37506wwm
table_id
catalog_url