bdc_coordinates_country_inconsistent() now resolves the country_name and the country column to a single canonical vocabulary before comparing names. Previously, records in the United States and Russia were wrongly flagged as inconsistent when the country was given by a common name ("United States", "Russia") or an ISO code ("US", "RU"), because the function compared Natural Earth's name_long (e.g. "Russian Federation", "United States of America") directly to country_name. Full names, common names, and ISO alpha-2/alpha-3 codes are now all accepted.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.
+- Fixed deprecation warnings in bdc_standardize_country() (tidyselect .data[[var]] -> all_of()) and bdc_quickmap() (ggplot2 borders() -> annotation_borders()).bdc_query_names_taxadb() and bdc_filter_name() / bdc_filter_id() pin db_version = "22.12", which remains available and byte-identical at the new data location (source.coop Parquet). No change needed for existing scripts.fb (FishBase) and slb (SeaLifeBase) are republished in taxadb 0.3.0 in version 2026 (CC-BY-NC), but remain blocked in bdc_query_names_taxadb() because bdc pins db_version = "22.12", which does not include them. The error message now directs users to taxadb::available_providers("2026").iucn, tpl, and wd remain blocked with an updated error message: iucn cannot be redistributed under Red List terms, TPL was retired upstream in 2013, and wd was never published. Use rredlist for Red List data.## FIXME note referencing ropensci/taxadb#88, which is closed.contentid / TAXADB_DRIVER environment-variable code in bdc_suggest_names_taxadb(), superseded by the Parquet-on-source.coop reading layer.taxadb dependency from >= 0.1.3 to >= 0.3.0; removed contentid from Suggests.{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).