Skip to content

Instantly share code, notes, and snippets.

@papousek
Created March 16, 2016 09:57
Show Gist options
  • Save papousek/5b3a8c33a425444c8106 to your computer and use it in GitHub Desktop.
Save papousek/5b3a8c33a425444c8106 to your computer and use it in GitHub Desktop.
terka
if ((sum(registries$surname[i] == advocates$surname)==1)
& !((registries$ProposalDate1[i] >= advocates$active_from[advocates$surname == registries$surname[i]])
& (registries$ProposalDate1[i]<= advocates$active_to[advocates$surname == registries$surname[i]]))){
inCAK[i] <- "not in the time"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment