Skip to content

Commit

Permalink
try to optimize the codes, but process_zhixiashi still not work
Browse files Browse the repository at this point in the history
  • Loading branch information
sammo3182 committed Dec 25, 2024
1 parent 6269ff3 commit 8cfae86
Show file tree
Hide file tree
Showing 5 changed files with 155 additions and 193 deletions.
Binary file removed .RData
Binary file not shown.
10 changes: 5 additions & 5 deletions .Rhistory
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
# Because province nicknames changed in 1999
year_num <- ifelse(as.numeric(year_from) < 1999, 1998, 1999)
year_from <- ifelse (is.numeric(data_input[1]), "prov_code", "prov_name")
year_to <- switch(
convert_to,
"name" = "prov_name",
"code" = "prov_code",
"area" = "area",
Expand Down Expand Up @@ -510,3 +505,8 @@ library(devtools)
detach("package:devtools", unload = TRUE)
install.packages("devtools")
pkgbuild::check_build_tools(debug = TRUE)
load("D:/Seafile/WW_research/01_Research/R_package/regioncode/R/sysdata.rda")
View(region_data)
load("D:/Seafile/WW_research/01_Research/R_package/regioncode/R/sysdata.rda")
library(dplyr)
names(region_data)
Loading

0 comments on commit 8cfae86

Please sign in to comment.