-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
"R" Importer / Exporter for EMF - requirements and initial solution #15
Comments
To answer your questions, quoting:
AD. 1. Both R language exporter for EMF and R language exporter/importer for EMF are possible but how difficult and time-consuming it would become depends on specific requirements. AD.2. See AD.1 - it depends on specific requirements Please see issue description / mind-map attached and provide clarifying answers to questions asked / additional comments as needed. |
I'm no expert on R, but the
The primary goal is an exporter. Please estimate the importer and exporter separately. |
I've talked to Stefan. He only wants the R Exporter. |
Completed via #31 |
Attached please find mind-map, summarizing requirements, questions, as well as providing an initial solution with some additional info.
To view mind-map in original format (
.xmind
), use freely available basic version of https://xmind.app/ - unzip it first, as GitHub does not allow attaching.xmind
files directly. Also attached is mind-map exported as PDF for visual overview.Summary of above mentioned items (requirements, questions, solution, more info) in textual form is presented below.
Requirements
Provide ability to export data from EMF to format expressed in R language
Provide ability to import data to EMF from format expressed in R language
Solution
List of data frames, containing both data and metadata (model specifics)
a R script containing list of data frames would be generated, similar to what "ODS (OpenDocument Spreadsheet) Exporter for EMF" (https://github.com/geckoprojects-org/org.gecko.emf.utils/tree/jakarta), which I created several months ago, provides (list of sheets, with sheets containing data and metadata); see this PR comment (Replaced FastODS with SODS #8 (comment)) for examples of such ODS documents;
data.frame is a feature of "R language", thus it does not require any additional packages
Questions
1. Would list of data frames expressed in R language be sufficient ?
If not, please clarify / explicitly state format requirements
2 Are both exporter and importer needed or is exporter sufficient ?
"ODS (OpenDocument Spreadsheet) Exporter for EMF" provides exporter only, there is no importer
If, in addition to exporter, importer is needed as well, the meta-data exported would need to contain everything that is required to re-create ECORE file - it would become much more time-consuming
More info
RDocumentation: data.frame function
The R Project for Statistical Computing
Attachments
SmartCity_R-importer-exporter_analysis&solution.zip
R Importer Exporter for EMF.pdf
The text was updated successfully, but these errors were encountered: