Skip to content

Commit

Permalink
Fix how data is loaded
Browse files Browse the repository at this point in the history
* 'mappings' is not an exported object from 'namespace:covid19.nhs.data'
* 'mappings' is actually internal data
  • Loading branch information
sophiemeakin committed Sep 22, 2022
1 parent a4304b7 commit 34ce181
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/load_mappings.R
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ load_mapping <- function(scale, source) {
}

# Return mapping
out <- covid19.nhs.data::mappings %>%
out <- covid19.nhs.data:::mappings %>%
filter(map_source == source,
map_level == scale) %>%
select(-c(map_source, map_level))
Expand Down

0 comments on commit 34ce181

Please sign in to comment.