Croatian bureau of statistics gives access to frequencies of personal names/surnames based on data from official census. This package offers functionality to fetch the frequencies and make it available for analysis in R. More information and download is available here.