Skip to content
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

Closed
ideas-into-software opened this issue Aug 16, 2023 · 4 comments
Assignees

Comments

@ideas-into-software
Copy link
Contributor

ideas-into-software commented Aug 16, 2023

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)

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

Attachments

R Importer Exporter for EMF

SmartCity_R-importer-exporter_analysis&solution.zip

R Importer Exporter for EMF.pdf

@ideas-into-software ideas-into-software self-assigned this Aug 16, 2023
@ideas-into-software
Copy link
Contributor Author

ideas-into-software commented Aug 16, 2023

@juergen-albert

To answer your questions, quoting:

  1. Is it possible?

  2. What would be a rough estimate?

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.

@juergen-albert
Copy link
Contributor

  1. Would list of data frames expressed in R language be sufficient

I'm no expert on R, but the data.frame seems to be the most fitting, as I don't believe that data.matrix or the others are meant for complex Objects.

  1. Are both exporter and importer needed or is exporter sufficient ?

The primary goal is an exporter.
An Importer would be nice though, but only if it is easy to do. For an importer, I would not try to recreate an ecore with the metadata, but would say that we need a predefined model, that fits the Metadata and can be matched with it. If this is too hard to do, then we we omit the importer.

Please estimate the importer and exporter separately.

@juergen-albert
Copy link
Contributor

I've talked to Stefan. He only wants the R Exporter.

@ideas-into-software
Copy link
Contributor Author

ideas-into-software commented Dec 11, 2023

Completed via #31

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants