diff --git a/r/GetBirthplace.R b/r/GetBirthplace.R index 3212f5056356b02438138df199998ecbd6c74ce3..8726598874e32feeffa2c015ec5bb43cfec90adc 100644 --- a/r/GetBirthplace.R +++ b/r/GetBirthplace.R @@ -19,7 +19,7 @@ getBirthplace <- function(article) { # If there is no infobox we return 0 if(!grepl("vcard", article)) { - return(NULL) + return(0) } # Use infobox to get Birthplace