Re: [R] matching similar character strings

2013-07-09 Thread A M Lavezzi
RRATO2","ODD","SECTION"), class = "data.frame",row.names = c("1","2", "3", "4", "5", "6","7","8","9","10","11","12","13")) expected <-

Re: [R] matching similar character strings

2013-07-06 Thread Jeff Newmiller
)) >> F1_ex[,1]<-F2_ex[sapply(vec2,function(x) which((x>F2_ex[,4] & x< >F2_ex[,6]) & paste(F2_ex[,2],F2_ex[,3])%in%vec1)),"SECTION"] >> F1_ex >> # Nome.azienda Indirizzo >> #17 1261 Via Edmondo De Amicis, 18 >> #18

Re: [R] matching similar character strings

2013-07-06 Thread A M Lavezzi
;] > F1_ex > # Nome.azienda Indirizzo > #17 1261 Via Edmondo De Amicis, 18 > #18 1262 Via Edmondo De Amicis, 65 > A.K. > > > > > > - Original Message - > From: A M Lavezzi > To: r-help > Cc: > Sent: Tuesday, Jul

Re: [R] matching similar character strings

2013-07-03 Thread arun
some matching pairs within the example > dataset.  Also, please post it to r-help as I will be able to check only > after a couple of hours > Tx. > Arun > > > > - Original Message - > From: Mario Lavezzi > To: arun > Cc: > Sent: Friday, June 21, 201

Re: [R] matching similar character strings

2013-07-02 Thread A M Lavezzi
the > name is slightly different, element A15 should be added to row 1) of F1, > producing an output such as: > > 1) Street | J.F. Kennedy | 30 | A15 > > > hope this clarifies the issue. > > thanks a lot! Mario > > > > Il 21/06/2013 15:29, arun ha scritto:

Re: [R] matching similar character strings

2013-06-21 Thread David Carlson
t" "e Ave" "e Rd" "e St" "f Ave" "f Rd" "f St" [19] "g Ave" "g Rd" "g St" "h Ave" "h Rd" "h St" "i Ave" "i Rd" "i St" [28] "j Ave&qu

[R] matching similar character strings

2013-06-21 Thread A M Lavezzi
Hello everybody I have this problem: I need to match an addresses database F1 with the information contained in a toponymic database F2. The format of F1 is given by three columns and 800 rows, with the columns being: A1. Street/Road/Avenue A2. Name A3. Number Consider for instance Avenue J. Ke