Skip to content

Commit

Permalink
one more [1]
Browse files Browse the repository at this point in the history
  • Loading branch information
ajdamico committed Mar 22, 2015
1 parent ea12f5f commit 2d5952f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion American National Election Studies/download and import.R
Expand Up @@ -285,7 +285,7 @@ for ( curStudy in seq( length( files.to.download ) ) ){

# store the basename of the file,
# replacing the extension with `.rda`
bn <- gsub( 'sav|por|dta' , 'rda' , basename( fp ) )
bn <- gsub( 'sav|por|dta' , 'rda' , basename( fp[ 1 ] ) )

# convert all column names in the data.frame to lowercase
names( x ) <- tolower( names( x ) )
Expand Down

0 comments on commit 2d5952f

Please sign in to comment.