Code to produce and plot analytics about Databrary
Current report about Databrary Institutions & Authorized Users, Volumes, and Citations.
-
To update the report:
source('weekly/R/helpers.R')
update_weekly_report(db_account = "<YOUREMAIL@YOURDOMAIN>")
- replacing
<YOUREMAIL@YOURDOMAIN>
with your actual Databrary login (email).
- replacing
-
To run the report without updating:
source('weekly/R/helpers.R')
render_weekly_report(db_account = "<YOUREMAIL@YOURDOMAIN>")
- replacing
<YOUREMAIL@YOURDOMAIN>
with your actual Databrary login (email).
- replacing
-
These numbers are from the Databrary Activity site https://nyu.databrary.org/api/activity
-
"Databrary" and "Datavyu" (with quotes) are used to reduce bad hits in Google Scholar
- choose the 'anytime' option for Citations Monthly
- choose 'Since 2019' option for Citations Yearly
- the boxes for Include Patents and Include Citations remain unchecked
- Report about full shared volumes and volume overviews only with session statistics.*
- To run this report run
rmarkdown::render("shared-volumes-sessions/shared-volumes-sessions.Rmd", params = list(db_login = "<YOUREMAIL@YOURDOMAIN>"))
- replacing
<YOUREMAIL@YOURDOMAIN>
with your actual Databrary login (email).
- To run this report run
- Report on the tags and keywords linked to Databrary volumes.
- To run this report, run
source("tags-keywords/R/helpers.R")
from the R console. - Then run
render_tags_keywords_report("<YOUREMAIL@YOURDOMAIN>")
- replacing
<YOUREMAIL@YOURDOMAIN>
with your actual Databrary login (email).
- replacing
- To run this report, run
- Institutions report on number of investigators at each authorizing institution.
- To run this report, run
source("institutions-investigators/R/helpers.R")
from the R console. - Then run
render_institutions_report("<YOUREMAIL@YOURDOMAIN>")
- replacing
<YOUREMAIL@YOURDOMAIN>
with your actual Databrary login (email).
- replacing
- To run this report, run
- Investigators report on the number of affiliates each investigator has created.
- To run this report, run
source("institutions-investigators/R/helpers.R")
from the R console. - Then run
render_investigators_report("<YOUREMAIL@YOURDOMAIN>")
- replacing
<YOUREMAIL@YOURDOMAIN>
with your actual Databrary login (email).
- replacing
- To run this report, run
- Report on the number of shared file types by volume and overall.
- To run this report, run
source("volumes-with-videos-annotations/R/helpers.R")
from the R console. - Then run
render_asset_stats_report("<YOUREMAIL@YOURDOMAIN>")
- replacing
<YOUREMAIL@YOURDOMAIN>
with your actual Databrary login (email).
- replacing
- To run this report, run
- Report on the site-wide reported participant demographics.
- To run this report, run
source("participant-demographics/R/helpers.R")
from the R console. - Then run
rmarkdown::render("participant-demographics/participant-demog-report.Rmd", params = list(db_login="<YOUREMAIL@YOURDOMAIN>"))
- replacing
<YOUREMAIL@YOURDOMAIN>
with your actual Databrary login (email).
- replacing
- To run this report, run
- Report on the number of shared volumes by funding source.
- Then run
rmarkdown::render("funders/funder-report.Rmd", params = list(db_login="<YOUREMAIL@YOURDOMAIN>"))
- replacing
<YOUREMAIL@YOURDOMAIN>
with your actual Databrary login (email).
- replacing
- Then run