db

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Area

type Area struct {
	OutputAreaCode     string `csv:"Output Area Code"`
	LocalAuthorityCode string `csv:"Local Authority Code"`
	LAName             string `csv:"Local Authority Name"`
	RegionCode         string `csv:"Region/Country Code"`
	RegionName         string `csv:"Region/Country Name"`
}

type Industry

type Industry struct {
	Code string `csv:"SIC Code"`
	Name string `csv:"Description"`
}

type ScrubberDB

type ScrubberDB struct {
	AreasPFM      *prefixmap.PrefixMap
	IndustriesPFM *prefixmap.PrefixMap
}

func LoadCsvData

func LoadCsvData(ctx context.Context, cfg *config.Config) ScrubberDB

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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