home / cp40x

names

6 rows where case_id = 2551377

✎ 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
5623779 2551377 2551377 plaintiff Kirkeby John esq 586067 586067 Kirkeby, John, of York, esq 0
5623780 2551377 2551377 defendant Barker Robert husbandman 736893 736893 Barker, Robert, of Thirntoft, husbandman 0
5623781 2551377 2551377 defendant Ellerbek Thomas husbandman 736893 736893 Ellerbek, Thomas, of Thirntoft, husbandman 1
5623782 2551377 2551377 defendant Hert John weaver 790282 790282 Hert, John, of Mauneby, weaver 2
5623783 2551377 2551377 defendant Russell Geoffrey husbandman 906901 906901 Russell, Geoffrey, of Maunneby, husbandman 3
5623784 2551377 2551377 defendant Parcyvall Peter smith 790282 790282 Parcyvall, Peter, of Mauneby, smith 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 8.042ms