I have two different data frames:
46.70056 -69.71556
48.70056 -70.71556
And
46.70056 -69.71556 1010001
49.70056 -71.71556 1010003
I basically want to read the Latitude and Longitude in the first dataframe, match with the Lat-Long in the second dataframe, and if it matches, want to read the value from the third column and add it into the first dataframe. I could really use some help with the matching part. Earlier I was using the as.numeric(match(all$z,meta$y)). But that works with only one column. But since here I want to match two columns simultaneously, I am at a loss. Please help.