home / cp40x

names

6 rows where case_id = 2348505

✎ 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
4971829 2348505 2348505 plaintiff Ilkeston Simon     Ilkeston, Simon 0
4971830 2348505 2348505 defendant Smyth Robert chapman 586901 586901 Smyth, Robert, of Nottingham, chapman 0
4971831 2348505 2348505 defendant Squyer Thomas   789067 789067 Squyer, Thomas, of Bremyngton, Derbs, "bulker" 1
4971832 2348505 2348505 defendant Goldsmyth Thomas goldsmith 586901 586901 Goldsmyth, Thomas, of Nottingham, goldsmith 2
4971833 2348505 2348505 defendant Sorky or Sorby Robert husbandman 586846 586846 Sorky or Sorby, Robert, of Lincoln, husbandman 3
4971834 2348505 2348505 defendant Foston Richard chapman 586901 586901 Foston, Richard, of Nottingham, chapman 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.313ms