scraper/doecode/__init__.py
def process(filename=None, url=None, key=None):
    """
    Yeilds DOE CODE records based on provided input sources

    param:
        filename (str): Path to a DOE CODE .json file
        url (str): URL for a DOE CODE server json file
        key (str): API Key for connecting to DOE CODE server
    """

    if filename is not None:
        yield from process_json(filename)
    elif url and key:
        yield from process_url(url, key)
def process(filename=None, url=None, key=None):
    if filename is not None:
        yield from process_json(filename)
    elif url and key:
        yield from process_url(url, key)
def process ( filename = None , url = None , key = None ) : if filename is not None : yield from process_json ( filename ) elif url and key : yield from process_url ( url , key )
Yeilds DOE CODE records based on provided input sources

    param:
        filename (str): Path to a DOE CODE .json file
        url (str): URL for a DOE CODE server json file
        key (str): API Key for connecting to DOE CODE server
Yeilds DOE CODE records based on provided input sources