indirecteconomics

package
v0.0.0-...-cd09ded Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: MIT Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CapitalAndLabor

type CapitalAndLabor struct {
	Capital float64
	Labor   float64
}

type EcamResult

type EcamResult struct {
	ProductionImpacts []EcamSectorResultOutput
	EmploymentImpacts []EcamSectorResultOutput
}

func ComputeEcam

func ComputeEcam(stateFips string, countyFips string, capitalLoss float64, laborloss float64) (EcamResult, error)

func ParseEcamResult

func ParseEcamResult(webResponse *http.Response) (EcamResult, error)

func (EcamResult) String

func (er EcamResult) String() string

type EcamSectorResultOutput

type EcamSectorResultOutput struct {
	Sector        string
	Benchmark     float64 //millions usd
	PercentChange float64
	Change        float64
}

Jump to

Keyboard shortcuts

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