I hereby claim:
- I am calabresem on github.
- I am marcosc (https://keybase.io/marcosc) on keybase.
- I have a public key whose fingerprint is 2E0C 7D52 650E B063 683D CB16 F838 1698 1DC7 E200
To claim this, I am signing this object:
library( data.table ) | |
file_locations_vector <- c( '/path_to/file1.csv', '/path_to/file2.csv', '/path_to_other/file3.csv' ) | |
buffer <- rbindlist( lapply( file_locations_vector, fread ) ) |
TableKit.Sortable.addSortType( | |
new TableKit.Sortable.Type( 'currency-ar', { | |
pattern : /^\$(((\d{1,3},)(\d{3},)*\d{3})|(\d{1,3}))\.\d{2}$/, | |
normal : function(v) { | |
v = v.replace( '.', '' ); | |
v = v.replace( ',', '.' ); | |
v = parseFloat(v.replace(/^.*?([-+]?[\d]*\.?[\d]+(?:[eE][-+]?[\d]+)?).*$/,"$1")); | |
return isNaN(v) ? 0 : v; | |
} | |
}), |
a <- data.frame( A=seq( from = 1, length.out = 10), | |
B=seq( from = 20, length.out = 10, by = -1 ) ) | |
a$C <- a$A + a$B | |
a$D <- apply( X = a, MARGIN = 1, FUN = function( x ) { | |
return( x['C'] + max( x['A'], x['B'] ) ) | |
}) |
I hereby claim:
To claim this, I am signing this object: