{doParallel} from Suggests to Imports (Thanks,@black-snow; PR#251).bdc_correct_coordinates forimproved functionality.bdc_quick_map: updated dependency handling forthe dplyr package.bdc_country_standardize function: added aninternal function to improve country name checking andstandardization.bdc_parse_names documentation for clarity.bdc_create_figures: removed outdateddependencies (sp, rgeos), debugged functionality, and added a new “hex”argument.Adaptation of the databases to the latest version of{taxadb} (0.2.0), temporarily discontinuing thetpl,fb andiucn databases (seehere).
bdc_query_names_taxadb() now informs the databaseprovider and its version and does not create Output directory whenexport_accepted=FALSE.
bdc_standardize_datasets now throws an error whendataset names defined in the metadata file are not unique.
Fix minor bug inbdc_coordinates_country_inconsistent() (see:5c4e0aa).
{countrycode} and{rangeBuilder}dependencies were removed. Country names now are derived fromStefan Gabosrepository following theISO 3166-1standard.
{bdc} wins the Ebbe Nielsen Challenge GBIF 2022 (seelinks below)!
taxadb::td_create inside thebdc_query_names_taxadb.dplyr::mutate_all bydplyr::across in thebdc_coordinates_empty.bdc_coordinates_empty.bdc_clean_names fixing CRAN issueswith encoding characters (hiding characters into a file and reading themwhen needed).bdc_country_from_coordinates now filter out countrieswith no data (NA).bdc_clean_names character encodingon debian-clang CRAN server.bdc_country_from_coordinates() reported in#209.bdc_coordinates_country_inconsistentbdc_coordinates_from_locality: adding an error messagewhen there is no column named localitybdc_country_from_coordinates: adding a message whenthere are no records missing country names. Avoiding returning a NULLobject.bdc_create_report: adding coordinates transposed to thereport; improve test and the message returnedbdc_clean_names: adding code to remove strangecharacters (e.g., accents) from names, and returning a message whenthese characters were not automatically removed.bdc_coordinates_transposed: avoid error when a column“.summary” is already present in the provided datasetbdc_standardize_datasets: convert all columns tocharacters before merging datasets. Added a message to indicate whichcolumn names of the dataset were not founded in the configuration table(metadata).