Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
js
 
 
 
 
 
 
 
 
 
 

scpr-media-scripts

This collection of scripts uses media data logged into Logstash / Elasticsearch to compute download and user statistics.

We've made this repo public so that we can share the methodology we're using to compute the stats, but these scripts themselves won't really be any use to you without access to our production data.

Requirements

  • Node.js 0.10
  • VPN access to logstash.i.scprdev.org (Datacenter Network)

Installation

npm install -g scpr/scpr-media-scripts

Scripts

scpr-media-show-day

Downloads by show by day. Produces a CSV with shows and dates.

Accepts start and end parameters for date range. Optionally can be given a show parameter to return data only for one show.

NOTE: Accepts type parameter with values of podcast (default) or ondemand, but ondemand is currently broken since we don't set a UUID for non-podcast downloads.

About

Scripts for computing stats on SCPR media downloads

Resources

Releases

No releases published

Packages

No packages published