home / cp40x

names

5 rows where case_id = 2394255

✎ 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
5126595 2394255 2394255 plaintiff Brake John butcher   Brake, John, butcher 0
5126596 2394255 2394255 defendant Edward William laborer 662293 662293 Edward, William, of Lanrake, Cornw, laborer 0
5126597 2394255 2394255 defendant Joly John laborer 693011 693011 Joly, John, of Landulpe, Cornw, laborer 1
5126598 2394255 2394255 defendant Toleslo William husbandman 849598 849598 Toleslo, William, of Toleslo in Virstawe, husbandman 2
5126599 2394255 2394255 defendant Bole William spicer 586834 586834 Bole, William, of Plymmouth, spicer 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 14.657ms