Documentation
¶
Index ¶
- func ConvertSanctionsData(data *ListData) []search.Entity[search.Value]
- func DetailsURL(entityID string) string
- func Download(ctx context.Context, logger log.Logger, initialDir string) (download.Files, error)
- func ToEntity(src SanctionsEntry) search.Entity[search.Value]
- type ListData
- type SanctionsEntry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertSanctionsData ¶
ConvertSanctionsData converts CSV sanctions data to search entities
func DetailsURL ¶ added in v0.52.0
DetailsURL returns the US CSL Search URL There is not a page for viewing individual records we can link to.
Types ¶
type ListData ¶
type ListData struct { SanctionsData []SanctionsEntry ListHash string }
ListData holds the parsed CSV data and its hash
type SanctionsEntry ¶ added in v0.52.2
type SanctionsEntry struct { ID string Source string EntityNumber string Type string Programs string Name string Title string Addresses string FederalRegisterNotice string StartDate string EndDate string StandardOrder string LicenseRequirement string LicensePolicy string CallSign string VesselType string GrossTonnage string GrossRegisteredTonnage string VesselFlag string VesselOwner string Remarks string SourceListURL string AltNames string Citizenships string DatesOfBirth string Nationalities string PlacesOfBirth string SourceInformationURL string IDs string }
SanctionsEntry represents a single row in the CSV
Click to show internal directories.
Click to hide internal directories.