Hi @nick.zincone ,
I am doing a company search based on fuzzy names. Following issue came up with the search namely: say I specify companies "SoftwareONE" , "Accenture". The query below returns results in random order. How to map results back to the companies I specified? (have 20K names). Many thanks. Grigorios
>>>mystr = 'SoftwareONE or Accenture'
>>>res = rd.discovery.search(
view = rd.discovery.Views.ORGANISATIONS,
query = mystr,
top = 1000,
filter = " SearchAllCategoryv2 eq 'Companies/Issuers'",
select = "CommonName,PrimaryRIC, IssueISIN")
>>>res2 = res[res["PrimaryRIC"].isna() == False]
>>>res2
CommonName PrimaryRIC
0 Accenture PLC ACN
1 Softwareone Holding AG SWON.S
and (before the "res2 = res[res" step):
>>>res
CommonName PrimaryRIC
0 Accenture PLC ACN
1 Softwareone Holding AG SWON.S
2 Accenture Global Capital DAC <NA>
3 Phantom Ventures LLC <NA>
4 Accenture Ventures <NA>
.. ... ...
547 SoftwareONE Taiwan Ltd <NA>
548 Softwareone Japan KK <NA>
549 Verein zur Absicherung der Pensionsverpflichtu... <NA>
550 Accenture Australia 2 Ltd <NA>
551 Accenture Capital Inc <NA>