refactor(search): rename cog_gov_search() first argument to name

Pre-rename in preparation for basket mode. All existing callers in this
package and cog_explorer/ pass the first argument positionally, so this
rename is non-breaking. No deprecation alias added per design spec
(no external consumers; package is pre-release v0.1.0).

@param roxygen also updated to match the new formal; man/cog_gov_search.Rd
regenerated via devtools::document().
This commit is contained in:
2026-04-28 10:47:56 -04:00
parent b3e544ebd8
commit 68b72faeae
2 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -4,10 +4,10 @@
\alias{cog_gov_search}
\title{Search for governments by name, state, and/or type}
\usage{
cog_gov_search(pattern = NULL, state = NULL, type = NULL)
cog_gov_search(name = NULL, state = NULL, type = NULL)
}
\arguments{
\item{pattern}{Character regex matched case-insensitively against
\item{name}{Character regex matched case-insensitively against
`gov_name`. `NULL` (default) means no name filter.}
\item{state}{Either a 2-letter USPS abbreviation (e.g. `"FL"`), a FIPS