aronlindberg / 4cases_routines

0 stars 2 forks source link

Write a function for outputting a table of descriptive statistics #8

Open aronlindberg opened 9 years ago

aronlindberg commented 9 years ago

Either using flags, or several functions, it needs to be able to output a table of descriptive statistics on the level of individual sequences, or arbitrary groups of sequences (i.e. clusters of projects).

aronlindberg commented 8 years ago

Ari suggests:

generate_descriptive_statistics = function(project_name)
{
  path = paste0("/Users/aron/git/github-activities/data/activity", "-", 
project_name, "-", project_name, ".txt")

  tse <- SequenceObject(path, '2012-01-06', '2013-01-06', 
type = "TSE", exclude = c("synchronize",  "subscribed", "unsubscribed", 
"head_ref_cleaned", "head_ref_deleted", "head_ref_restored"))

 ...
}