Address intersections

Hi everyone,

I have a data set that has addresses. One of the issues is that our intersections are sometimes coded in two different ways. Here's an example: Ave C N and 20th St W, then in other instances it's entered in as 20th St W and Ave C N. Does anyone know of a way ordering addresses so they're consistent? I have a function in Excel that someone gave me, but I don't understand it and I'm hoping there's already a function in R that I can use.

If there are any questions, please let me know.


I think we need to see d some sample data and have some idea what you want to do with the data. See
FAQ Asking Questions

A handy way to supply some sample data is the dput() function. In the case of a large dataset something like dput(head(mydata, 100)) should supply the data we need. Just do dput(mydata) where mydata is your data. Copy the output and paste it here between


This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.