Skip to content

Commit

Permalink
Prefix URLencode() with namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
Bisaloo committed Nov 8, 2023
1 parent 61c00ce commit e94c77d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/scraping_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ get_path_data_disease_year <- function(year, disease_name) {
microdata_path <- config::get(file = config_file, "path_microdata")
query_path <- config::get(file = config_file, "query_path_microdata")
year <- as.character(year)
disease_name <- URLencode(disease_name)
disease_name <- utils::URLencode(disease_name)
query_path <- stringr::str_replace(query_path, stringr::fixed("_year_"), year)
query_path <- stringr::str_replace(
query_path,
Expand Down

0 comments on commit e94c77d

Please sign in to comment.