C2DH / jdh-notebook

A collection of Jupyter notebooks for the Journal of Digital History
https://journalofdigitalhistory.org
GNU Affero General Public License v3.0
4 stars 1 forks source link

Technical review https://github.com/jdh-observer/jdh001-9HcfToh7EYm8 #59

Closed eliselavy closed 2 years ago

eliselavy commented 2 years ago

Email received from author

eliselavy commented 2 years ago

Email sent to the author in order to fix following problem: Screenshot 2021-12-07 at 15 03 02 :

eliselavy commented 2 years ago

Problem with

Screenshot 2021-12-15 at 16 23 47
eliselavy commented 2 years ago

Merge the new revision for the repository : https://github.com/jdh-observer/jdh001-9HcfToh7EYm8

eliselavy commented 2 years ago

I request also to a colleague working with RStudio on Windows as you ( I am on mac) to read the file send by email. Same error as me:

"Error in readRDS("~/Elisabeth/stuff.RDS") : error reading from connection" (même après avoir déclaré le folder comme directeur de travail avec setwd).

I execute the R’s script provided by email in version 4.1.0. A error occurs by reading the new version uploaded in your github ‘s repository see logs below:

Screenshot 2022-05-10 at 11 54 59

But loading the file in R ‘s studio as requested, same error occurs:

Screenshot 2022-05-10 at 11 55 14

As you noticed the difference of behavior doesn’t seem to linked to the R’s version but to the file as you can read it from your side, and not me.

What is the difference between these two files?

We have already a problem with reading files in the past, maybe we could have a Webex session in order to exchange about this and debug together?

eliselavy commented 2 years ago

Try now with .csv file : https://github.com/jdh-observer/jdh001-9HcfToh7EYm8/blob/main/parl_texts_7075.csv

eliselavy commented 2 years ago

CSV provided was not formatted in UTF-8 Try different way to read.csv but at the source was not correct => result can not be Several email exchange with the author

csv in UTF-8 has been provided - wait for the plot validation RDS need to be provided as reading csv in R take ages

eliselavy commented 2 years ago

Plot with files2 <- read.csv(text = files, encoding="UTF-8") Rplot-UTF8-encoding-defined

eliselavy commented 2 years ago

Result of the plot has been validated.

Now performance problem needs to be solved Screenshot 2022-06-13 at 15 57 54

Dedicated webex session planned to merge:

eliselavy commented 2 years ago

Performance problem solved:

Screenshot 2022-06-15 at 11 42 43
eliselavy commented 2 years ago

Appointment fixed for 22 June.

eliselavy commented 2 years ago

Notebook merged received.

eliselavy commented 2 years ago

Can be send for review

eliselavy commented 2 years ago

Problem with one reference due to bug https://github.com/takluyver/cite2c/issues/52