fyi.contributions.dataset

Describes the contributions.fyi dataset and links the complete data files, so one getRecord and one getBlob per file downloads everything.

Details · record, key literal:self
Kindrecord
Record keyliteral:self
Authoritycontributions.fyi
Commit rev3n2hsxgaf6l24
Indexed

Record

record · key literal:self

Properties

collections

requiredarray

The per-entity record collections in this repository.

itemsref
Reference
  • lex:fyi.contributions.dataset#collection

cycles

requiredarray

Election cycles covered, named for the year each ends.

itemsinteger

description

requiredstring

files

requiredarray

The complete data files, gzipped: JSON, the same data as SQLite, and the source records behind it as SQLite.

itemsref
Reference
  • lex:fyi.contributions.dataset#file

generatedAt

requiredstring · datetime

When the data was built.

license

requiredstring

name

requiredstring

False while the per-entity records are still being brought in line with this generation of the data; the files are always complete.

sources

requiredarray
itemsref
Reference
  • lex:fyi.contributions.dataset#source

updatedAt

requiredstring · datetime

#collection

object

Properties

nsid

requiredstring · nsid

records

requiredinteger

#file

object

Properties

blob

requiredblob
  • accept: application/gzip

format

string

What's inside the gzip.

  • knownValues: json | sqlite

name

requiredstring

e.g. 'members.json.gz', 'contributions.sqlite.gz'.

records

requiredinteger

Entities in a JSON file; rows across all tables in a SQLite one.

sha256

requiredstring

Hex SHA-256 of the uncompressed file.

#source

object

Properties

name

requiredstring

url

requiredstring · uri

usedFor

string