home / cp40x

names

6 rows where case_id = 2428952

✎ 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
5245855 2428952 2428952 plaintiff Roger John     Roger, John 0
5245856 2428952 2428952 defendant Denys William husbandman 784966 784966 Denys, William, of Mertok, Soms, husbandman 0
5245857 2428952 2428952 defendant Skarlet William gent 813247 813247 Skarlet, William, of Holbourne St Andrew, Middx, gent 1
5245858 2428952 2428952 defendant Baa William husbandman 798408 798408 Baa, William, of Wrastlyngworth, Beds, husbandman 2
5245859 2428952 2428952 defendant Stanton John husbandman 643792 643792 Stanton, John, of Sampford Peverell, Devon, husbandman 3
5245860 2428952 2428952 defendant Howse John husbandman 783327 783327 Howse, John, of Queens Cammell, Soms, husbandman 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 7.302ms