Skip to content

Commit

Permalink
Name sheets "m01", "m02", ...
Browse files Browse the repository at this point in the history
  • Loading branch information
hsonne committed Jan 11, 2024
1 parent 4dab708 commit 3731059
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/import_json_files_to_excel.R
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ import_json_files_to_excel <- function(
import_rawdata_json(add_place = TRUE, old_format = FALSE) %>%
get_core_data() %>%
core_data_to_wide() %>%
split_by_columns("indicator")
split_by_columns("indicator") %>%
stats::setNames(sprintf("m%02d", seq_along(.)))

file_exists <- file.exists(file)
quoted_file <- dQuote(file, '"')
Expand Down

0 comments on commit 3731059

Please sign in to comment.