traitecoevo / APCalign

R package for accessing, matching and updating species names of Australian flora
https://traitecoevo.github.io/APCalign/
Other
4 stars 6 forks source link

Suggested changes to standardise names #197

Closed ehwenk closed 6 months ago

ehwenk commented 6 months ago

Suggested changes to standardise names

-the pattern [:alpha:]/[:alpha:] should become [:alpha:] / [:alpha:]

In part this is accomplished by changing lines 28-35 in standardise_names.R to

 taxon_names %>%
    ## remove ? and * throughout
    f("\\?", "") %>%
    f("\\*", "") %>%
   f("\\(","") %>%

    ## hybrid markers and other non-standard characters used are replaced with 
    ## the standard equivalent (e.g. x, \)
    stringi::stri_trans_general("Any-Latin; Latin-ASCII") %>%
dfalster commented 6 months ago

Hi Lizzy, feel free to try implementing, branching off develop