Created
July 22, 2014 13:52
-
-
Save uribo/db1e27f3d41aa47044f0 to your computer and use it in GitHub Desktop.
read multi cdv files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for (i in year) { | |
mypath <- file.path(getwd(), paste("H", i, ".csv", sep = "")) | |
assign(paste("df", i, sep = ""), read.csv(mypath, header = T)) # ダミー変数(df10, df11 ... df23)を作成して各CSVファイルを読み込む | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment