-
Notifications
You must be signed in to change notification settings - Fork 161
Open
Labels
Description
Report an Issue / Request a Feature
I'm submitting a (Check one with "x") :
- feature request
Issue Severity Classification -
- 3 - Low
Expected Behavior
The arguments to a specific reader are available through the file.reader.
Current Behavior
All readers take the path to the data file and the variable to store the data as arguments. When a specific file needs special treatment there is no way to override the default options.
Possible Solution
A few steps are necessary to implement this:
- Change the signature of the reader functions to the following:
filename: Path to the file to be loadedvariablename: Variable in the global environment to store the loaded data in...: Arbitrary arguments to pass to the implemented reader
- Change the
file.readerto pass all arguments, beside the extension (which is used to determine which reader to use), to the reader.
Related issues:
- allow to specify encoding in global.dcf #189 allow to specify encoding in
global.dcf(one mentioned solution was to allow override per file)
rsangole