home / cp40x

names

5 rows where case_id = 2034310

✎ 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
4027013 2034310 2034310 plaintiff Chabnour Robert gent   Chabnour, Robert, gent 0
4027014 2034310 2034310 defendant Banyard George gent 631033 631033 Banyard, George, of Est Dereham, gent 0
4027015 2034310 2034310 defendant Elwarde Charles yeoman 677453 677453 Elwarde, Charles, of Hycklyn, yeoman 1
4027016 2034310 2034310 defendant Shepperd Robert husbandman 677454 677454 Shepperd, Robert, of Bakonsthorpe, husbandman 2
4027017 2034310 2034310 defendant Morres Thomas husbandman 677455 677455 Morres, Thomas, of Terryngton St John, husbandman 3

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.807ms