home / cp40x

names

6 rows where case_id = 2301452

✎ 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
4817138 2301452 2301452 plaintiff Melman John     Melman, John 0
4817139 2301452 2301452 defendant Karre Lawrence mercer 587052 587052 Karre, Lawrence, of Beverley, Yorks, mercer 0
4817140 2301452 2301452 defendant Roke William mercer 591316 591316 Roke, William, of Salle, Norf, mercer 1
4817141 2301452 2301452 defendant Appulwoth William mercer 806893 806893 Appulwoth, William, of Pokelyngton in the Vale, Yorks, mercer 2
4817142 2301452 2301452 defendant Taunton Richard   904708 904708 Taunton, Richard, of Merston, Norf, parson 3
4817143 2301452 2301452 defendant Godfrey John husbandman 587166 587166 Godfrey, John, of Salle, husbandman 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 17.745ms