home / cp40x

names

8 rows where case_id = 2519284

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5547485 2519284 2519284 plaintiff William John (legal representative)   William, John, executors of 0
5547486 2519284 2519284 plaintiff Webbe Richard     (Webbe, Richard 1
5547487 2519284 2519284 plaintiff Gay Humphrey     Gay, Humphrey 2
5547488 2519284 2519284 defendant Lotte John butcher 600587 600587 Lotte, John, of Petham, butcher 0
5547489 2519284 2519284 defendant Forde John butcher 586175 586175 Forde, John, of Canterbury, butcher 1
5547490 2519284 2519284 defendant Skorier John yeoman 844549 844549 Skorier, John, of Apuldur, yeoman 2
5547491 2519284 2519284 defendant Rider John butcher 586175 586175 Rider, John, of Canterbury, butcher 3
5547492 2519284 2519284 defendant Stokfissh Augustine butcher 587939 587939 Stokfissh, Augustine, of Westgate Strete, Canterbury, butcher 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 12.056ms