home / cp40x

names

12 rows where case_id = 2287290

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4772237 2287290 2287290 plaintiff Sparowe John   586846 586846 Sparowe, John, of Lincoln 0
4772238 2287290 2287290 defendant Belewes Thomas yeoman 600238 600238 Belewes, Thomas, of Blyth, Notts, yeoman 0
4772239 2287290 2287290 defendant Bagley Thomas chapman 605602 605602 Bagley, Thomas, of Blyth, chapman 1
4772240 2287290 2287290 defendant Chapman William chapman 800236 800236 Chapman, William, of Haitfeld, Yorks, chapman 2
4772241 2287290 2287290 defendant Latoner Robert latoner 781252 781252 Latoner, Robert, of Derby, Derbs, latoner 3
4772242 2287290 2287290 defendant More John yeoman 800237 800237 More, John, of Carleton in Lynderyk, Notts, yeoman 4
4772243 2287290 2287290 defendant Smyth John smith 597902 597902 Smyth, John, of Horncastell, Lincs, smith 5
4772244 2287290 2287290 defendant Edward John chapman 800238 800238 Edward, John, of Sixhill, Lincs, chapman 6
4772245 2287290 2287290 defendant Baker John yeoman 800239 800239 Baker, John, of West Rasen, Lincs, yeoman 7
4772246 2287290 2287290 defendant Mason Peter yeoman 782507 782507 Mason, Peter, of Market Rasen, Lincs, yeoman 8
4772247 2287290 2287290 defendant Barbour John barber 767311 767311 Barbour, John, of Market Rasen, barber 9
4772248 2287290 2287290 defendant Austyn Richard yeoman 644749 644749 Austyn, Richard, of Thoresway, yeoman 10

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 13.951ms