Options
All
  • Public
  • Public/Protected
  • All
Menu

Class representing a CSV file

Hierarchy

  • CSV

Index

Constructors

constructor

  • new CSV(filePath: string, epiweek: Epiweek, model: string): CSV
  • Initialize the csv with filename and some metadata

    Parameters

    • filePath: string
    • epiweek: Epiweek
    • model: string

    Returns CSV

Properties

epiweek

epiweek: Epiweek

filePath

filePath: string

headers

headers: string[]

model

model: string

season

season: SeasonId

Methods

getBins

  • Return an array of bin values for given target and region.

    Parameters

    Returns Bin[]

getConfidenceRange

  • getConfidenceRange(target: TargetId, region: RegionId, ciPercent?: number): [number, number]
  • Return low and high bin values for the given confidence (in percent) and target, region pair.

    Parameters

    Returns [number, number]

getPoint

  • Return a point value for given target and region

    Parameters

    Returns number

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc