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
Incorporate preprocessing reporting into trade module #67
Comments
@chrMongeau have you run trade module recently? If yes, have you got file with [tiny] report? |
@malexan I haven't updated the package locally. I'll try to do it today (eventually tomorrow). |
Folder in file.path(
Sys.getenv("R_SWS_SHARE_PATH"),
SWS_USER,
paste0("tradereport_",
format(Sys.time(), "%Y%m%d%H%M%S%Z"))) was to be created. With See details in the code. The report contains just few lines (I want to test stuff with file writing in that SWS share folder). |
I merged with The function is in |
To get such statistics in a systematic way we need report inclusions allowing to check:
For purpose of report compactness a summary per one country should fit in one line. |
On the other hand it would be useful to have a possibility to extract walk-through results for a specific country. Either we run the module for a specific subset of reporters (up to the mirroring) or we have a place (R list, for example) where we store all intermediate results for everything and then extract pieces of interest in any sequence and any resulting format. |
We need to make decisions on several develop questions:
After the experiment with mixing of core module code with reporting instructions I decided it is better to split core processing from report generation. In further development we can provide an advanced user with possibility of modifying reports without necessity for changes of core module. So reporting instructions should be stored and maintained separately from the module code. It is possible to share features of reporting across other SWS modules. So source code for reporting should be developed taking into account the possibility of separation into a standalone R package. I suggest to create all reporting functions with common prefix like All results of of calculations what can be used again during the session should be stored in one list. Later the list can be saved alongside with text of report and csv files. We can use name |
@malexan:
Carola:
@chrMongeau:
The text was updated successfully, but these errors were encountered: