home / cp40x

names

8 rows where case_id = 2334283

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4925099 2334283 2334283 plaintiff Pareys John     Pareys, John 0
4925100 2334283 2334283 defendant Cownford Simon husbandman 593363 593363 Cownford, Simon, of Thrapston, husbandman 0
4925101 2334283 2334283 defendant Baxter Robert baker 586926 586926 Baxter, Robert, of Russheden, baker 1
4925102 2334283 2334283 defendant Stratton William husbandman 822956 822956 Stratton, William, of Pertnale or Pertenhall, Beds, husbandman 2
4925103 2334283 2334283 defendant Glover John husbandman 795409 795409 Glover, John, of Hiegham Ferrers, husbandman 3
4925104 2334283 2334283 defendant Bocher John butcher 593363 593363 Bocher, John, of Thrapston, butcher 4
4925105 2334283 2334283 defendant Chapman John tanner 603464 603464 Chapman, John, of Bedford, Beds, tanner 5
4925106 2334283 2334283 defendant Skynner John glover 595169 595169 Skynner, John, of Olney, Bucks, glover 6

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE names (
    id INTEGER PRIMARY KEY AUTOINCREMENT,
    case_id INTEGER NOT NULL REFERENCES cases(id) ON DELETE CASCADE,
    role TEXT NOT NULL CHECK (role IN ('plaintiff', 'defendant')),
    surname TEXT NOT NULL,
    forename TEXT,
    occupation TEXT,
    place_id INTEGER REFERENCES places(id),
    raw_segment TEXT NOT NULL,
    seq INTEGER NOT NULL DEFAULT 0
);
CREATE INDEX idx_names_case_id ON names(case_id);
CREATE INDEX idx_names_surname ON names(surname);
CREATE INDEX idx_names_place_id ON names(place_id);
CREATE INDEX idx_names_role_surname ON names(role, surname);
Powered by Datasette · Queries took 11.261ms