home / cp40x

names

7 rows where place_id = 759712

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4463689 2189336 2189336 defendant Taverner John   759712 759712 Taverner, John, of Northwych 2
4463696 2189337 2189337 defendant Taverner John   759712 759712 Taverner, John, of Northwych 2
4548005 2215309 2215309 defendant Whetherby Thomas   759712 759712 Whetherby, Thomas, of Northwych 0
4575906 2223953 2223953 plaintiff Brasyere Robert   759712 759712 Brasyere, Robert, of Northwych 0
4575910 2223954 2223954 plaintiff Brasyere Robert   759712 759712 Brasyere, Robert, of Northwych 0
4615459 2235842 2235842 defendant Stokys William   759712 759712 Stokys, William, of Northwych 5
4615466 2235843 2235843 defendant Stokys William   759712 759712 Stokys, William, of Northwych 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 15.37ms