home / cp40x

names

6 rows where case_id = 2300520

✎ 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
4814130 2300520 2300520 plaintiff Huberd John     Huberd, John, on his own account 0
4814131 2300520 2300520 defendant Adam Henry husbandman 601726 601726 Adam, Henry, of Ottery St Mary, husbandman 0
4814132 2300520 2300520 defendant Hunte John husbandman 806366 806366 Hunte, John, of Abbotteshele, Soms, husbandman 1
4814133 2300520 2300520 defendant Imberley John barber 765422 765422 Imberley, John, of Ilmystre, Soms, barber 2
4814134 2300520 2300520 defendant Grygge Robert butcher 586442 586442 Grygge, Robert, of Honyton, butcher 3
4814135 2300520 2300520 defendant Husee John laborer 806367 806367 Husee, John, of Anlescombe, laborer 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 14.584ms