bycourt

package
v0.0.0-...-e97ee80 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultURL = "https://mqscores.lsa.umich.edu/media/2020/court.csv"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Court

type Court struct {
	Year  int
	Stats []*Stats
}

func Read

func Read(
	ctx context.Context,
	opts ...option.DownloadOption,
) ([]*Court, error)

func (*Court) Median

func (c *Court) Median() float64

type Stats

type Stats struct {
	MedianJusticeScore    float64
	StdDevOfMedianJustice float64
	MinJusticeScore       float64
	MaxJusticeScore       float64
	MedianJustice         string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL