BrunaLab / bdffpRain

R package for rain gauge data from the Biological Dynamics of Forest Fragments Project.
MIT License
0 stars 0 forks source link

Duplicate observer names #27

Closed Aariq closed 2 years ago

Aariq commented 3 years ago

There are likely a lot of duplicated observer names due to typos. I don't know if this is worth trying to fix, but might be worth documenting.

library(bdffpRain)
library(dplyr)
#> 
#> Attaching package: 'dplyr'
#> The following objects are masked from 'package:stats':
#> 
#>     filter, lag
#> The following objects are masked from 'package:base':
#> 
#>     intersect, setdiff, setequal, union
bdffp_rain %>% pull(observer) %>% unique() %>% sort()
#>   [1] "?"               "A. Martins"      "A.martins"       "Abelha"         
#>   [5] "Adailton"        "Ademir"          "Adriana"         "Alaercio"       
#>   [9] "Albano"          "Albert"          "Alberto"         "Aldecir"        
#>  [13] "Aldemir"         "Aldicir"         "Ale"             "Alex"           
#>  [17] "Alexandre"       "Alice"           "Aluizio"         "Aluizo"         
#>  [21] "Alulu"           "Aluysio"         "Aluzo"           "Amanda"         
#>  [25] "Amarildo"        "Ana"             "Ana Andrad"      "Ana Andrade"    
#>  [29] "Ana Cristina"    "Andes"           "Andrade"         "Andre"          
#>  [33] "Andre Luis"      "Andrew"          "Andy"            "Angela"         
#>  [37] "Antonia"         "Antonio"         "Antônio"         "Antonio C."     
#>  [41] "Antonio Martins" "Antônio Ribeiro" "Antonio Silva"   "Antonne"        
#>  [45] "Apostol"         "Apostolo"        "Apóstolo"        "Artemio"        
#>  [49] "Ary"             "Bacaba"          "Bacaba Rj"       "Bebeto"         
#>  [53] "Bem"             "Ben"             "Ben N"           "Bernal"         
#>  [57] "Beth"            "Bia"             "Bl"              "Boca Preta"     
#>  [61] "Braulio"         "Brown"           "Bruno"           "Bruno T"        
#>  [65] "Bryan"           "Bucas"           "C.emer"          "C.silva"        
#>  [69] "Cabocao"         "Cabocão"         "Caboção"         "Cacoclao"       
#>  [73] "Cadoso"          "Camila"          "Camploell"       "Cardoso"        
#>  [77] "Cardosos"        "Carlos"          "Carol"           "Casimiro"       
#>  [81] "Cds"             "Celis"           "Celo"            "Cels"           
#>  [85] "Charles"         "Cheryl"          "Chris"           "Chris Funk"     
#>  [89] "Christian"       "Christopher"     "Ciccero"         "Cicero"         
#>  [93] "Cícero"          "Ciciro"          "Cicreo"          "Cicro"          
#>  [97] "Cida"            "Cinthia"         "Claude"          "Cls"            
#> [101] "Coleman"         "Cosme"           "Cosmo"           "Cradoso"        
#> [105] "Cris"            "Crisitina"       "Cristiane"       "Cristina"       
#> [109] "Cymerys"         "Cynthia"         "Cyntia"          "Dadao"          
#> [113] "Dadão"           "Dalton"          "Daniela"         "Danila"         
#> [117] "David"           "De"              "Debora"          "Denise"         
#> [121] "Denize"          "Deus"            "Diana"           "Domitila"       
#> [125] "Doralice"        "Douglas"         "Duka"            "E,Ilia"         
#> [129] "Edilson"         "Edison"          "Edmilson"        "Edson"          
#> [133] "Eduarda"         "Eduardo"         "Eilo"            "Elaine"         
#> [137] "Elder"           "Eleonora"        "Eleonore"        "Elisa"          
#> [141] "Ellen"           "Ema"             "Emanuel"         "Emicio"         
#> [145] "Emile"           "Emilia"          "Emilio"          "Emílio"         
#> [149] "Emilo"           "Emlio"           "Emmanuel"        "Enrico"         
#> [153] "Eremildes"       "Erenildo"        "Erica"           "Erick"          
#> [157] "Estagiario"      "Everaldo"        "Fabio"           "Fabiola"        
#> [161] "Fabricio"        "Farol"           "Fearnside"       "Felipe"         
#> [165] "Fernando"        "Fio"             "Flavia"          "Flavio"         
#> [169] "Flávio"          "Flecha"          "Flexa"           "Flora"          
#> [173] "Francisc0"       "Francisco"       "Franciscon"      "Frango"         
#> [177] "Frazao"          "Fred"            "Gabi"            "Gabriel"        
#> [181] "Gano"            "Gascon"          "Genimar"         "Georgia"        
#> [185] "Girafa"          "Gislene"         "Gonçalo"         "Gordo"          
#> [189] "Guilherme"       "Guillerme"       "Helena"          "Heloisa"        
#> [193] "Heloiza"         "Henrique"        "Heraldo"         "Hunk"           
#> [197] "Iaticara"        "Iatricara"       "Ingrid"          "Iracema"        
#> [201] "Isolde"          "Izzo"            "J.deus"          "Jairo"          
#> [205] "Jany"            "Jay"             "Jean"            "Jeferson"       
#> [209] "Jeff"            "Jefferson"       "Jenifer"         "Jennifer"       
#> [213] "Jetro"           "Joana"           "Joao"            "João"           
#> [217] "Joao Deus"       "Joaozinho"       "Joel"            "Joels"          
#> [221] "Johnson"         "Jonas"           "Jonaz"           "Jones"          
#> [225] "Jorge"           "Jorimar"         "Josaniel"        "Jose"           
#> [229] "José"            "Jose Adailton"   "Jose Jr."        "Jose Luis"      
#> [233] "José Luis"       "Jose Luiz"       "Jose Maria"      "Jose Paulo"     
#> [237] "Joseluis"        "Josimar"         "Juan"            "Juan De Deis"   
#> [241] "Juan De Deus"    "Juan De Dios"    "Juan Soler"      "Julieta"        
#> [245] "Juliete"         "Julio"           "Junior"          "Júnior"         
#> [249] "Junior Ande"     "Junior Andes"    "Juruna"          "Karine"         
#> [253] "Karl"            "Katia"           "Kelli"           "Kika"           
#> [257] "Kleiton"         "Kursar"          "Laercio"         "Leandro"        
#> [261] "Lenz"            "Leo"             "Léo"             "Leonardo"       
#> [265] "Leslie"          "Ligia"           "Lilian"          "Lobo"           
#> [269] "Loco"            "Luana"           "Lucas"           "Luciano"        
#> [273] "Luis"            "Luisa"           "Luiz"            "Luiz Cabocão"   
#> [277] "Luiza"           "Lulu"            "Machu"           "Machu Pichu"    
#> [281] "Maia"            "Maite"           "Maitê"           "Malu"           
#> [285] "Mandy"           "Mano"            "Manoel"          "Manoela"        
#> [289] "Manolo"          "Manu"            "Marcel"          "Marcela"        
#> [293] "Marcelo"         "Marcio"          "Marconi"         "Marcus"         
#> [297] "Maria"           "Mariana"         "Marilene"        "Marina"         
#> [301] "Mario"           "Marisangela"     "Maristerra"      "Marlon"         
#> [305] "Marques"         "Martin"          "Martins"         "Matthew"        
#> [309] "Mauricio"        "Meika"           "Mesquita"        "Michel"         
#> [313] "Miguel"          "Milena"          "Milton"          "Monica"         
#> [317] "Mônica"          "Monza"           "Mota"            "Nadja"          
#> [321] "Negreiros"       "Newton"          "Ney"             "Nigel"          
#> [325] "Noman"           "Nomann"          "Obed"            "Ocirio"         
#> [329] "Ocírio"          "Ociro"           "Olavo"           "Oscirio"        
#> [333] "Osmaildo"        "Osmaldo"         "Osmar"           "Osmarindo"      
#> [337] "Osmundo"         "P.apostol"       "P.m."            "Palheta"        
#> [341] "Palhota"         "Patricia"        "Patto"           "Paulo"          
#> [345] "Paulo Rubim"     "Pedro"           "Peggy"           "Peter"          
#> [349] "Phil"            "Phill"           "Piaui"           "Pinguela"       
#> [353] "Preta"           "Raimundo"        "Raoni"           "Rapahel"        
#> [357] "Raphael"         "Rebamar"         "Regina"          "Ribainer"       
#> [361] "Ribamar"         "Ricardo"         "Ridamar"         "Rita"           
#> [365] "Robert"          "Roberto"         "Rodrigo"         "Roger"          
#> [369] "Rogerio"         "Rogério"         "Rosa"            "Rose"           
#> [373] "Rosemeire"       "Rosimeire"       "Rosineide"       "Rosinha"        
#> [377] "Ruan"            "Rubim"           "S. Flexa"        "S. Marques"     
#> [381] "Saba"            "Sabá"            "Saci"            "Sammya"         
#> [385] "Samuel"          "Sandra"          "Santiago"        "Sarah"          
#> [389] "Sarita"          "Saul"            "Scott"           "Sebastiao"      
#> [393] "Sebastião"       "Sebatiao"        "Selinano"        "Seluino"        
#> [397] "Selvino"         "Sergino"         "Sergio"          "Servino"        
#> [401] "Sharon"          "Silva"           "Silvia"          "Simon"          
#> [405] "Sinimbu"         "Souza"           "Susan"           "Susan Lavare"   
#> [409] "Sylvia"          "T.kursar"        "Tapnyo"          "Tatu"           
#> [413] "Tatuadu"         "Tatuapu"         "Tavare"          "Tavares"        
#> [417] "Teca"            "Thayna"          "Thiago"          "Thiago Izzo"    
#> [421] "Tiago"           "Ticiano"         "Tim"             "Tom"            
#> [425] "Tony"            "Toshiba"         "Tubarao"         "Ulisses"        
#> [429] "Valeria"         "Valerie"         "Valeriea"        "Vanildo"        
#> [433] "Victor"          "Viktor"          "Vilhena"         "Vilka"          
#> [437] "Villena"         "Villenca"        "Virgiane"        "Vitor"          
#> [441] "Wagao"           "Wagão"           "Waldete"         "Waltinho"       
#> [445] "Welma"           "Wilson"          "Wong"            "Yeo"            
#> [449] "Ze"              "Zé"              "Ze Adaliton"     "Ze Luis"        
#> [453] "Zé Luis"         "Ze Paulo"        "Zeca"

Created on 2021-04-07 by the reprex package (v0.3.0)

embruna commented 3 years ago

This is a great example for class.There is every version possible. My name has an accent in portuguese but not in spanish, so sometimes it was typed in with or without. All combinations are there for names that do have accents (Ze, Ze') plus the usual array of misspelled names (Phil and Phill). The record holder may "Joao Deus, Juan De Deis, Juan De Dios, and Juan de Deus"...none of which are his name (João de Deus). To say nothing of the nicknames (Carlos is from Peru, so of course we was immediately nicknamed Machu Pichu. It was quickly shortened to Machu. All three are there (Carlos, Machu, and Machu Pichu). I'm dying.

Leave it the way it is. Maybe one day I'll take a stroll down memory lane and Open Refine them., Just add a note they need to be cleaned.