home / cp40x

names

6 rows where case_id = 2455347

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5334356 2455347 2455347 plaintiff Eyre Henry     Eyre, Henry 0
5334357 2455347 2455347 defendant Annis Peter laborer 874601 874601 Annis, Peter, of West Wymeryng, laborer 0
5334358 2455347 2455347 defendant Martyn Peter merchant 587439 587439 Martyn, Peter, of Portesmouth, merchant 1
5334359 2455347 2455347 defendant Hamwell John   592217 592217 Hamwell, John, of Chichester, Sussex, mason 2
5334360 2455347 2455347 defendant Dokesbourgh Peter   620166 620166 Dokesbourgh, Peter, of Faram, tallow chandler 3
5334361 2455347 2455347 defendant Notyngham Henry clerk 874603 874603 Notyngham, Henry, of Aimeport, clerk 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 13.665ms