The application SNSF Open Access Check
was developed by the SNSF with R Shiny as a prototype. Using data from Dimensions and Unpaywall, this prototype is limited for the time being to researchers based in Switzerland. It is available here.
If you want to run the application locally using the code in this repository, you need:
- An account for the bibliometric service Dimensions that allows API requests. Create a file
dimensions_credentials.key
incore
that consists of your Dimensions username (first line) and your Dimensions password (second line). - To configure the mailings correctly (when mails should be sent):
- Enter the mail address you want the reports to be sent out from in variable
mailaddress_noreply
inglobal.R
. - Create a file containing the credentials and server information of the mail address provided in
mailaddress_noreply
withblastula::create_smtp_creds_file()
. Save the file asmail_creds
in the directorycore
. - Enter a mail address as variable
mailaddress_feedback
inglobal.R
. This is the mail address feedback from the feedback form is sent to.
- Enter the mail address you want the reports to be sent out from in variable
- If you would want to enable the logging mechanism, set the variable
logging
inglobal.R
toTRUE
, create a MySQL server instance and the three tablesOAReportMailing
,OAReportError
andOAReportFeedback
according to the scripts in directorysql
. Save the server connection information asmysql_credentials.key
in the directorycore
:- Host and port (1st and 2nd line)
- Username and password (3rd and 4th line)
After these steps, you should be able to run the project in RStudio.
If you have questions regarding the application code, please contact julius.mattern@snf.ch. For more general questions about the app please use the feedback form in the application user interface.
MIT © Swiss National Science Foundation