Skip to contents

The most recent taxadb snapshot version

Usage

latest_version(db = td_connect())

Arguments

db

a connection from td_connect()

Value

the latest available version, as a character string

Details

Versions are ordered as version numbers, not as strings. This matters: as strings "22.12" sorts after "2026", so a plain max() would make an archival release from 2022 the default for every query once it was published.

Examples

if (FALSE) { # \dontrun{
latest_version()
} # }