I have the NYC Flights data in which one of the dimensions (see last column) is the destination
I've got another dataframe where I've got the distinct destinations
Distinct Destinations Data Snapshot
Now I want to add a 2nd column in this dataset which should be the count of flights for that destination as per earlier dataset. Think of countif
and lookup
equivalent of MS-Excel in R
dput
and not as images. Please read the info about how to ask a good question and how to give a reproducible example.