-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Save raw source data in fetch
#98
Comments
Hi @infojunkie, I've updated Workbench's innards in the way you describe. Now, We have two minor hurdles. We could use your help.
Would you be interested in a little design session, in which we'd discuss the API and UI of your module? (We don't need your feedback, but it would help.) I realize it took more than a year to get to this. We didn't forget about it -- it was simply hard to do. This relates to #120: users should be able to set CSV-parsing options without fetching. |
Virtually all modules now make |
There are cases where the data source module may want to allow the user to specify special formatting instructions to be applied on the raw source data. Today, because the module's
fetch
function is expected to return apd.DataFrame
object, the module is forced to perform the formatting inside offetch
. This means that a user would have to re-fetch to apply the formatting instructions, which is counter-intuitive and wasteful of resources on all sides. One (ugly) workaround is to store some raw data in additional DataFrame columns that are read duringrender
and cleaned up there.Ideally, the
fetch
function would store the raw data, and therender
function would have access to this raw data for formatting.The text was updated successfully, but these errors were encountered: