foundry/foundry.py
def list(self):
        """List available Foundry data packages

        Returns
        -------
            (pandas.DataFrame): DataFrame with summary list of Foundry data packages including name, title, and publication year
        """
        res = (
            self.forge_client.match_field(
                "mdf.organizations", self.config.organization)
            .match_resource_types("dataset")
            .search()
        )

        return pd.DataFrame(
            [
                {
                    "source_id": r["mdf"]["source_id"],
                    "name": r["dc"]["titles"][0]["title"],
                    "year": r["dc"].get("publicationYear", None),
                }
                for r in res
            ]
        )
List available Foundry data packages

        Returns
        -------
            (pandas.DataFrame): DataFrame with summary list of Foundry data packages including name, title, and publication year
        
List available Foundry data packages
Returns

(pandas.DataFrame): DataFrame with summary list of Foundry data packages including name, title, and publication year
List available Foundry data packages Returns ( pandas . DataFrame ) : DataFrame with summary list of Foundry data packages including name title and publication year
def list(self):
        res = (
            self.forge_client.match_field(
                "mdf.organizations", self.config.organization)
            .match_resource_types("dataset")
            .search()
        )
        return pd.DataFrame(
            [
                {
                    "source_id": r["mdf"]["source_id"],
                    "name": r["dc"]["titles"][0]["title"],
                    "year": r["dc"].get("publicationYear", None),
                }
                for r in res
            ]
        )
def list ( self ) : res = ( self . forge_client . match_field ( "mdf.organizations" , self . config . organization ) . match_resource_types ( "dataset" ) . search ( ) ) return pd . DataFrame ( [ { "source_id" : r [ "mdf" ] [ "source_id" ] , "name" : r [ "dc" ] [ "titles" ] [ 0 ] [ "title" ] , "year" : r [ "dc" ] . get ( "publicationYear" , None ) , } for r in res ] )
List available Foundry data packages
Returns
List available Foundry data packages Returns
"""List available Foundry data packages

        Returns
        -------
            (pandas.DataFrame): DataFrame with summary list of Foundry data packages including name, title, and publication year
        """
self