Download presentation
Presentation is loading. Please wait.
Published byCarmel Simmons Modified over 6 years ago
1
Visualizing Global Impact of an Institutional Repository
Hui Zhang LITA Forum 2016
2
Content Types in SA@OSU
Theses and Dissertations 24,842 Technical Reports 11,185 Articles 7,788 Presentations and Posters 1,041 Audio and Video 159 Datasets 59 Oregon State University’s institutional repository has been in production since It contains over 58,000 total items, primarily theses and dissertations as well as technical reports (primarily in the form of government documents and extension and experiment station publications), items classified as books (primarily digitized books out of copyright), datasets, conference proceedings and presentations, multimedia, datasets, and, increasingly since the university passed an OA policy in 2013, faculty articles.
3
Usage statistics by item Usage statistics by school and/or department
Showcasing IR impacts Usage statistics by item Usage statistics by school and/or department Altmetrics
4
Showcasing IR impact: From spreadsheet
5
Showcasing IR impacts: To visualization
6
An ‘Open’ Readership Map
Open source Use free technology and service Detach from backend repository
7
Technology infrastructure
Google Analytics and API Track web visits Access Google Analytics data with API Ruby on Rails Build the web application Google Maps
8
Tracking Download Event in DSpace
Locate item-view.xsl Tracking download as event with following snippet inserted <xsl:template name="view-open"> <a> <xsl:attribute name="onclick"> trackDownload(this) </xsl:attribute> <xsl:attribute name="href"> <xsl:value-of </xsl:attribute> <i18n:text>xmlui.dri2xhtml.METS-1.0.item-files-viewOpen</i18n:text> </a> <script type="text/javascript"> <xsl:text>function trackDownload(link) {_gaq.push(['_trackEvent', 'Bitstream', 'Download', link.href]); setTimeout('document.location = "' + link.href + '"', 200); return false;} </xsl:text> </script> </xsl:template> Item-view.xsl: dspace-xmlui/src/main/webapp/themes/Mirage/lib/xsl/aspect/artifactbrowser
9
Access Google Analytics data with API
Script running on the server side that requires authentication with OAuth Create a service account with Google API Use the private key for authentication We use the Google API Ruby Client Google Analytics Query Explorer A user-friendly web tool for building Google Analytics API queries
10
Rails application Model App Asset
Location, reader, timestamp rails g model reader time:datetime:index country:string region:string city:string latitude:float longitude:float title:text uri:text activity:string count:integer App data_controller.rb: access Google Analytics with API, store results into mysql cache database Asset rm.js.erb: draw the Google Map and display recent visits
11
Code repository in github
Thanks Camden Lopez!
12
Demonstration
13
Next steps Embed the readership-map to the homepage of IR
Run a web-based user survey
14
Thanks! hui.zhang@oregonstate.edu
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.