Hypertopic / Cassandre

Diary for qualitative analysis
https://hypertopic.org/cassandre
GNU Affero General Public License v3.0
25 stars 7 forks source link

Migrating interview transcripts from Cassandre 2 to Cassandre 3 #96

Closed benel closed 4 years ago

benel commented 5 years ago

To migrate interview transcripts from Cassandre 2 to Cassandre 3, I figured that, from CouchDB interface, I had to:

However, I cannot figure out how to rename the attribute for the interviewer. I tried creator, author, user, interviewer but I still get Créé par le 1er janvier 2012 (which means that the name is an empty string).

christophe-lejeune commented 5 years ago

Cassandre 3.0 was designed so that a CouchDB database populated with documents from a previous version may be used with no modification required.

This implies that :

I would be curious that you test these behaviors (as nobody as done yet up to now, as far as I know).

However, if you dislike default behaviors, you can insert contributors and readers (exactly as you assume) and forge a minimal history with the creator as first user and the date when the document was created : "history": [{"user": "acme", "date": "2012-01-01"}]

benel commented 5 years ago

I didn't updated Cassandre since most of corpora were not used anymore. Therefore I installed another server with another version and just copied a few corpora as diaries.

benel commented 5 years ago

Here is an extract of the memo in JSON and its HTML display:

Capture d’écran 2019-11-08 à 18 42 17 Capture d’écran 2019-11-08 à 18 40 13

As explained earlier, everything works fine except the display of the creator's name since I don't know how to rename interviewer.

I can also share the memo with you if you want to test different JSON keys.

benel commented 5 years ago

It seems that I read your answer too fast. OK I will create a minimal history so that the real author can be credited.

benel commented 5 years ago

It worked. Thanks, Christophe!