pharmaR / riskassessment

Collaborative Deployment: https://app.pharmar.org/riskassessment/ Risk Assessment Demo App: https://rinpharma.shinyapps.io/riskassessment
https://pharmar.github.io/riskassessment/
Other
101 stars 28 forks source link

"Score CRAN" #360

Open borgmaan opened 1 year ago

borgmaan commented 1 year ago

What are others thoughts on including some capabilities for end-users to pre-seed their databases with large swaths of packages to be assessed at some point in the future.

The idea would be to scrape some resource -- e.g. current CRAN, MRAN snapshot, etc. -- to get a list of current packages and versions, then score and upload all packages from that source to the DB.

It could be an offline utility script we provide or a button in the admin console that could be pressed to launch an background process.

This feature would add significant value when combined with something like #267. Also would allow for some interesting longitudinal comparisons when coupled with #253.

AARON-CLARK commented 1 year ago

At this point, I could really get on board with an "offline utility script" or maybe a new exported function that updates the users database with the new scores. I do think we should tackle these first:

All these are pretty intertwined. We'll have to prioritize which comes 1st, 2nd, 3rd, etc

AARON-CLARK commented 1 year ago

FYI, there is a new PR to set up data-package containing scores repo and in the future, it will also contain assessments. Maybe we use this utility to pre-populate the database, as Andrew suggests.