def get_same_source_meta(pkg_descriptor_elements, source_code):
    """Grab the the source metadata of the same dataset from all datapackages."""
    samezies = []
    for sources in pkg_descriptor_elements['sources']:
        for source in sources:
            if source['source_code'] == source_code:
                samezies.append(source)
    return(samezies)