Skip to content

Commit

Permalink
Register CSV, Feather, Excel and various stats formats
Browse files Browse the repository at this point in the history
  • Loading branch information
davidanthoff committed Jun 8, 2017
1 parent 4aadcda commit 99c8c03
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/registry.jl
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ end

add_format(format"RData", detect_rdata, [".rda", ".RData", ".rdata"], [:RData, LOAD])

add_format(format"CSV", (), [".csv"], [:CSVFiles])
add_format(format"Feather", (), [".feather"], [:FeatherFiles])
add_format(format"Excel", (), [".xls", ".xlsx"], [:ExcelFiles, LOAD])
add_format(format"Stata", (), [".dta"], [:StatFiles, LOAD])
add_format(format"SPSS", (), [".sav", ".por"], [:StatFiles, LOAD])
add_format(format"SAS", (), [".sas7bdat"], [:StatFiles, LOAD])

# Image formats
add_format(format"PBMBinary", b"P4", ".pbm", [:ImageMagick])
add_format(format"PGMBinary", b"P5", ".pgm", [:Netpbm])
Expand Down

0 comments on commit 99c8c03

Please sign in to comment.