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 after R1: Shaping the Transnational Public Sphere in Republican China: Discourses and Practices of the Rotary Club in the Shanghai Press (1919-1949) #150

Closed inactinique closed 4 months ago

inactinique commented 5 months ago

PID 69Xry3ztPAk5

https://github.com/jdh-observer/69Xry3ztPAk5

See email for new repository.

eliselavy commented 4 months ago

article_69Xry3ztPAk5.pdf

eliselavy commented 4 months ago

Recheck to be able to execute code in script and with install.R

eliselavy commented 4 months ago

The rmd file can be turned in .ipynb but not possible to use the histtext package

From here: https://gitlab.com/enpchina/histtext-r-client

The package is not (yet) available on CRAN. The installation must be done from this repository. The easiest way is to use the devtools package:

Important notice: This package is only a client. It relies on a server instance of the HistText Server API (https://gitlab.com/enpchina/histtext-server-api). If you are granted access to an already existing server instance, you can simply setup the R client as instructed in the following section. Otherwise, you'll have to setup the server (a SolR server will also be required) in order to be able to use this package.

From the manual : https://bookdown.enpchina.eu/rpackage/HistTextRManual.html

devtools::install_gitlab("enpchina/histtext-r-client")

Screenshot 2024-03-20 at 14 09 35

Histext installed but need to have granted access see here:

histtext::set_config_file(domain = "https://rapi.enpchina.eu", 
                          user = "user_info", password = "user_info_password")