Note that there are some explanatory texts on larger screens.

plurals
  1. POpartial string matching reification in R
    primarykey
    data
    text
    <p>I need to reconcile similar string to one the longest string. I am stuck with agrep, how would you do it?</p> <p><strong>Update: better problem definition</strong> I have a .csv of addresses of bakeries and I want to know (1) how many branches a bakery has and (2) how many businesses there are.</p> <p>I therefore extract only the names of the bakeries (see sample below) and now I need to find all the strings that are so similiar that they represent the same business. Then I count the business and the number of branches.</p> <pre><code>c("5 Meister Bäcker", "5 Meister Bäcker H. Breunung GmbH &amp; Co. KG", "5 Meister Bäcker Hubert Breunung Amthorpassage Ba...", "5 Meister Bäcker Hubert Breunung Bäckerei", "5 Meister Bäcker Hubert Breunung Backshop", "5 Meister Bäcker Hubert Breunung Backshop", "5 Meister Bäcker Hubert Breunung Backshop", "5 Meister Bäcker Hubert Breunung Backshop", "5 Meister Bäcker Hubert Breunung Backshop", "5 Meister Bäcker Hubert Breunung Backshop", "5 Meister Bäcker Hubert Breunung GmbH &amp; Co. KG", "5 Meister Bäcker Hubert Breunung GmbH &amp; Co. KG", "5 Meister Bäcker Hubert Breunung GmbH &amp; Co. KG", "5 Meister Bäcker Hubert Breunung GmbH &amp; Co. KG", "5 Meister Bäcker Hubert Breunung GmbH &amp; Co. KG", "5 Meister Bäcker Hubert Breunung", "5 Meister Bäcker Verwaltung", "Abel Backwaren", "Abele Bäckerei Filiale", "Abele Bruno Bäckerei", "Abele Eugen Bäckerei", "Abele Stefan Bäckerei", "Abel Lutz Feinbäckerei", "Abelmann Guido Bäckerei", "Abelmann Guido Bäckerei", "Abeln", " 05432 6 79", "Abeln Der City Bäcker", "Abeln", " 05933 18 12", "Abeln", " 05432 90 46 10", "Abeln", " 04471 72 93", "Abeln", " 05431 90 40 87", "Abeln", " 04471 93 03 47", "Abeln der City Bäcker", "Abeln Der City Bäcker", "Abeln Der City Bäcker", "Abeln", " 05961 95 53 30", "Abeln Der City Bäcker", "Abeln mein City-Bäcker Bäckerei", "Abeln", " 05933 64 76 23", "Abel Rupert Bäckerei und Konditorei", "Abels Bäckerei", "Abenthum Heinrich Bäckerei und Konditorei", "Aberle Hanno Bäckerei", "Abholzer Bäckerei Inh. Bernard u. Rosi Sproß") </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload