home / cp40x

names

7 rows where case_id = 2278202

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4742164 2278202 2278202 plaintiff Burton John, junior   586093 586093 Burton, John, junior, of Selby 0
4742165 2278202 2278202 plaintiff Burton Cecily     Cecily, his wife 1
4742166 2278202 2278202 defendant Bedemaker Robert bedmaker 595849 595849 Bedemaker, Robert, of Cawod, bedmaker 0
4742167 2278202 2278202 defendant Harlesay Thomas chaplain 586067 586067 Harlesay, Thomas, of York, chaplain 1
4742168 2278202 2278202 defendant Gunby John   595849 595849 Gunby, John, of Cawod, shipwright 2
4742169 2278202 2278202 defendant Hauson Thomas (legal representative) 603528 603528 Hauson, Thomas, of Kyngeston upon Hull, mariner, executrix of 3
4742170 2278202 2278202 defendant Hauson Margaret widow   Hauson, Margaret, widow 4

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