Skip to content

Commit

Permalink
✏️ refer to district level data
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahzeller authored Mar 18, 2024
1 parent 2c80799 commit 1425210
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/xwalk_ags.R
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ xwalk_ags <- function(data,
if (length(lev) > 1) {
stop("All values in ", ags, " need to be of equal length.")
} else {
if (grepl("xc", xwalk) & lev != 5) {
stop("If district crosswalk is request, the values
if (grepl("xd", xwalk) & lev != 5) {
stop("If district crosswalk is requested, the values
in ags need to be of length 5.")
}
if (grepl("xm", xwalk) & lev != 8) {
Expand Down

0 comments on commit 1425210

Please sign in to comment.