data_de_nascimento = c("16/03/66", "11/06/87", "21/11/75", "05/09/70",
"15/08/70", "15/08/70")
d <- as.Date(data_de_nascimento, "%d/%m/%y" )
data_de_nascimento_format <- as.Date(
ifelse(d > Sys.Date(), format(d, "19%y-%m-%d"), format(d)))
head(data_de_nascimento_format)
ZGF0YV9kZV9uYXNjaW1lbnRvID0gYygiMTYvMDMvNjYiLCAiMTEvMDYvODciLCAiMjEvMTEvNzUiLCAiMDUvMDkvNzAiLCAKICAgICAgICAgICAgICAgICAgICAgICAiMTUvMDgvNzAiLCAiMTUvMDgvNzAiKQpkIDwtIGFzLkRhdGUoZGF0YV9kZV9uYXNjaW1lbnRvLCAiJWQvJW0vJXkiICkgIApkYXRhX2RlX25hc2NpbWVudG9fZm9ybWF0IDwtIGFzLkRhdGUoCiAgICAgaWZlbHNlKGQgPiAgU3lzLkRhdGUoKSwgZm9ybWF0KGQsICIxOSV5LSVtLSVkIiksIGZvcm1hdChkKSkpCiAgICAgCmhlYWQoZGF0YV9kZV9uYXNjaW1lbnRvX2Zvcm1hdCkgICAgIA==