Skip to content

Commit

Permalink
Rename folders
Browse files Browse the repository at this point in the history
  • Loading branch information
Wojciech Klimowicz committed Dec 9, 2023
1 parent 6ab7dfd commit ffd4a2f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion inst/coding_frames/extract_lookups.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ z <- data.frame(jbsoc00_cc = x2, jbsoc_description = nx$names)
return(z)
}

s <- haven::read_sav("../usoc_raw_data//spss25/ukhls/a_indresp.sav")
s <- haven::read_sav("../data_usoc_raw//spss25/ukhls/a_indresp.sav")
z <- labels_to_data_frame(s$a_jbsoc00_cc)

z %>%
Expand Down
12 changes: 6 additions & 6 deletions inst/development/compile_usoc.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ devtools::load_all()
library(tidyverse)


usoc_convert("../usoc_raw_data/spss25",
"../usoc_rds_data/",
usoc_convert("../data_usoc_raw/spss25",
"../data_usoc_rds/",
incremental = TRUE,
filter_files = "indresp"
)
Expand Down Expand Up @@ -41,7 +41,7 @@ user_extra_mappings <- function(usoc_file_column_names) {
return(custom_variables)
}

indresp <- usoc_compile("../usoc_rds_data/",
indresp <- usoc_compile("../data_usoc_rds/",
extra_mappings = user_extra_mappings,
save_to_folder = TRUE,
file = "indresp")
Expand Down Expand Up @@ -82,7 +82,7 @@ user_extra_mappings <- function(usoc_file_column_names) {
return(custom_variables)
}

hhresp <- usoc_compile("../usoc_rds_data/",
hhresp <- usoc_compile("../data_usoc_rds/",
extra_mappings = user_extra_mappings,
save_to_folder = TRUE,
file = "hhresp")
Expand All @@ -97,7 +97,7 @@ hhresp <- usoc_compile("../usoc_rds_data/",



usoc <- usoc_compile("../usoc_rds_data/",
usoc <- usoc_compile("../data_usoc_rds/",
file = "indresp")


Expand All @@ -113,7 +113,7 @@ youth_extra_mappings <- function(usoc_file_column_names) {

}

usoc <- usoc_compile("../usoc_rds_data/", extra_mappings = youth_extra_mappings, file = "youth")
usoc <- usoc_compile("../data_usoc_rds/", extra_mappings = youth_extra_mappings, file = "youth")

usoc <- usoc_load()

Expand Down

0 comments on commit ffd4a2f

Please sign in to comment.