Skip to content

Commit

Permalink
avoid loading entire crosswalks table
Browse files Browse the repository at this point in the history
  • Loading branch information
krauwe committed Feb 19, 2024
1 parent af1a529 commit 3a87491
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions R/convert_nuts_version.R
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,7 @@ convert_nuts_version <-

# Prepare join with cross walk such that missing NUTS codes within groups are kept
# - Filter cross walks to desired version
cross_walks <- get("cross_walks")
cross_walks <-
cross_walks[cross_walks$to_version == to_version, ]
cross_walks <- get("cross_walks")[cross_walks$to_version == to_version, ]

# - Create group structure
group_structure <- data %>%
Expand Down

0 comments on commit 3a87491

Please sign in to comment.