nyphil

package
v0.0.0-...-aea4da5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 3, 2019 License: MIT Imports: 10 Imported by: 0

README

This folder contains the Go code used in the coperformance project.

Documentation

Overview

This contains functions to process the JSON files for the NY philharmonic data

Index

Constants

This section is empty.

Variables

View Source
var (
	YearInds  = loadYears()
	NoDataErr = errors.New("Not enough data to write file")
)

Functions

func Coperformance

func Coperformance(CompMap map[string]Composer, Nprog int) ([]([]float64), []string)

this function makes the coperformance matrix from a map of composers

func LoadComposers

func LoadComposers(file string, MinProg int, Years string) (map[string]Composer, int, error)

this function returns a map of composer names to program ids and seasons