home / cp40x

names

6 rows where case_id = 2551371

✎ 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
5623759 2551371 2551371 plaintiff Kirkeby John esq 586067 586067 Kirkeby John, of York, esq 0
5623760 2551371 2551371 defendant Barker Robert husbandman 736893 736893 Barker, Robert, of Thirntoft, husbandman 0
5623761 2551371 2551371 defendant Ellerbek Thomas husbandman 736893 736893 Ellerbek, Thomas, of Thirntoft, husbandman 1
5623762 2551371 2551371 defendant Hert John weaver 906901 906901 Hert, John, of Maunneby, weaver 2
5623763 2551371 2551371 defendant Russell Geoffrey husbandman 906901 906901 Russell, Geoffrey, of Maunneby, husbandman 3
5623764 2551371 2551371 defendant Parcyvall Peter smith 906901 906901 Parcyvall, Peter, of Maunneby, 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 14.843ms