reword-countries.txt and country_names.txt were updated and fixed (by @sjevelazco; 274).{qs} to {qs2} package. Updated bdc_standardize_datasets() to use qs2::qs_save() and qs2::qs_read() instead of qs::qsave() and qs::qread(). The format option has been changed from "qs" to "qs2" and file extensions from .qs to .qs2.{doParallel} from Suggests to Imports (Thanks, @black-snow; PR #251).bdc_correct_coordinates for improved functionality.bdc_quick_map: updated dependency handling for the dplyr package.bdc_country_standardize function: added an internal function to improve country name checking and standardization.bdc_parse_names documentation for clarity.bdc_create_figures: removed outdated dependencies (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 the tpl, fb and iucn
databases (see here).
bdc_query_names_taxadb() now informs the database provider and its
version and does not create Output directory when
export_accepted=FALSE.
bdc_standardize_datasets now throws an error when dataset names defined in the metadata file are not unique.
Fix minor bug in bdc_coordinates_country_inconsistent() (see: 5c4e0aa).
{countrycode} and {rangeBuilder} dependencies were
removed. Country names now are derived from Stefan Gabos repository
following the ISO 3166-1 standard.
{bdc} wins the Ebbe Nielsen Challenge GBIF 2022 (see links below)!
taxadb::td_create inside the
bdc_query_names_taxadb.dplyr::mutate_all by dplyr::across in the
bdc_coordinates_empty.bdc_coordinates_empty.bdc_clean_names fixing CRAN issues with
encoding characters (hiding characters into a file and reading them
when needed).bdc_country_from_coordinates now filter out countries with no data (NA).bdc_clean_names character encoding on debian-clang CRAN server.bdc_country_from_coordinates() reported in #209.bdc_coordinates_country_inconsistentbdc_coordinates_from_locality: adding an error message when there
is no column named localitybdc_country_from_coordinates: adding a message when there are no
records missing country names. Avoiding returning a NULL object.bdc_create_report: adding coordinates transposed to the report;
improve test and the message returnedbdc_clean_names: adding code to remove strange characters (e.g.,
accents) from names, and returning a message when these 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 to characters before
merging datasets. Added a message to indicate which column names of
the dataset were not founded in the configuration table (metadata).