- powerplantmatching.matching.link_multiple_datasets(datasets, labels, use_saved_matches=False, config=None, **dukeargs)
Duke-based horizontal match of multiple databases. Returns the matching indices of the datasets. Compares all properties of the given columns [‘Name’,’Fueltype’, ‘Technology’, ‘Country’, ‘Capacity’,’lat’, ‘lon’] in order to determine the same powerplant in different datasets. The match is in one-to-one mode, that is every entry of the initial databases has maximally one link to the other database. This leads to unique entries in the resulting dataframe.
datasets (list of pandas.Dataframe or strings) – dataframes or csv-files to use for the matching
labels (list of strings) – Names of the databases in alphabetical order and corresponding order to the datasets