diff --git a/R/manifest.R b/R/manifest.R index 3b587c1..1161e70 100644 --- a/R/manifest.R +++ b/R/manifest.R @@ -138,7 +138,7 @@ #' year, matching canonical_fips_xwalk) rather than as-of-year; as-of-year #' moved to the *_asof columns. This package's own geography always came from #' the xwalk (already present-based), so behaviour is unchanged. -.validate_schema <- function(manifest, supported = c(4L, 5L, 6L)) { +.validate_schema <- function(manifest, supported = c(4L, 5L, 6L, 7L)) { if (!manifest$schema_version %in% supported) { cli::cli_abort(c( "Corpus schema version mismatch.", diff --git a/R/session.R b/R/session.R index ef1c28c..468e980 100644 --- a/R/session.R +++ b/R/session.R @@ -12,7 +12,7 @@ cog_open <- function(url = .resolve_url(), DBI::dbExecute(con, "INSTALL httpfs; LOAD httpfs;") manifest <- .fetch_or_cache_manifest(url, cache_dir) - .validate_schema(manifest, supported = c(4L, 5L, 6L)) + .validate_schema(manifest, supported = c(4L, 5L, 6L, 7L)) .validate_scope(manifest) .register_views(con, url, manifest)