I am merging to data frames based on common county codes assigned in
the same way by both datasets. Here is the code:
data <- merge(sample, arf, by.x="CTYCODE", by.y="f00012")
I do not get any errors or warnings, but the merged data frame is
just a list of variable names with no rows below them.
I haven't used merge() before, and I am having difficulty figuring
out what might cause this. It's kind of costly to experiment with a
bunch of different arguments as it takes like 20 minutes for the
thing to run each time. Does anybody have any advice?