Wrapper class for bulletin board dataset

Hierarchy

  • BulletinData

Constructors

Properties

distribution: null | BulletinDistribution
hasValidSource: boolean

Indicator that the distribtion is downloadable

infoRecords: InfoRecord[]
infoRecordsLoaded: boolean
iri: string

Bulletin dataset IRI

loadError: Error

Error from distribution download

name: string

Bulletin dataset name

provider: Provider

Bulletin dataset provider

source: string

Download URL of dataset distribution

Methods

  • Fetch distribution from source

    Returns

    Promise

    Parameters

    • Optional timeOut: number

    Returns Promise<void>

  • Get distribution fetchDistribution should be called before calling this

    Returns

    BulletinDistribution distribution, if it is fetched, otherwise null

    Returns null | BulletinDistribution

  • Returns a list of information records from the bulletin fetchDistribution should be called before calling this

    Returns

    Array

    Returns null | InfoRecord[]

Generated using TypeDoc