Get available years for a table
get_available_years.RdQueries a database table to find the distinct values of a year column. Used to determine how to partition parallel downloads.
Examples
if (FALSE) { # \dontrun{
con <- create_connection()
years <- get_available_years(con, table = "LLDS_HDR_20240315HAC", year_col = "LANDYR")
safe_disconnect(con)
} # }