shylanott / databrary-analytics

Code to produce and plot analytics about Databrary

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

databrary-analytics

Code to produce and plot analytics about Databrary

Weekly report

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).
  • 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).

Citation Data

  • 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

Shared volumes and owners report

  • 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).

Tags and keywords report

  • 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).

Institutions and investigators report

  • 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).
  • 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).

Shared assets and types

  • 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).

Participant demographics report

  • 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).

Funders

  • 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).

About

Code to produce and plot analytics about Databrary

License:MIT License


Languages

Language:HTML 98.5%Language:JavaScript 1.3%Language:CSS 0.1%Language:R 0.1%