IARC-CSU / CanReg5

CanReg5 is a multi user, multi platform, open source tool to input, store, check and analyse cancer registry data.
http://www.iacr.com.fr/CanReg5
GNU General Public License v3.0
24 stars 13 forks source link

Allow importing from non-canreg sources #47

Closed braiam closed 6 years ago

braiam commented 6 years ago

It seems that while canreg would be good enough for new cancer registers, it doesn't seem to help established registers to migrate over. Would be possible to add a function to allow importing from other sources?

mortenjohs commented 6 years ago

Currently there are two main ways to get data from other sources into CanReg5 in a "batch mode":

  1. Generate a file following the format of data exported from CanReg4. (One flat file with all the information per tumour, linking patients using the socalled "MPcodes".)
  2. Generate files following the format of data exported from CanReg5. (One file for patient information, one for tumour information, and one for source information adding the foreign keys for the respective tables.)

I agree, though, that a tool to prepare data from other sources could be an interesting addition to CanReg5.

braiam commented 6 years ago

Would Canreg import the structure of the source also? It would be a huge leap if the import wizard allows to set the data type and import the dictionaries in a single step.

mortenjohs commented 6 years ago

That would, indeed be a good thing, but it is beyond the scope of CanReg5 -- for now...