home / cp40x

names

8 rows where case_id = 2289063

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4777848 2289063 2289063 plaintiff Barrow William Bishop of Carlisle   Barrow, William, Bishop of Carlisle 0
4777849 2289063 2289063 defendant Slawright John husbandman 789002 789002 Slawright, John, of Langholm, husbandman 0
4777850 2289063 2289063 defendant Symson William husbandman 599947 599947 Symson, William, of Sourby, husbandman 1
4777851 2289063 2289063 defendant Clerk John husbandman 599947 599947 Clerk, John, of Sourby, husbandman 2
4777852 2289063 2289063 defendant Clerk Thomas husbandman 599947 599947 Clerk, Thomas, of Sourby, husbandman 3
4777853 2289063 2289063 defendant Ripshawe Thomas husbandman 599947 599947 together with Ripshawe, Thomas, of Sourby, husbandman 4
4777854 2289063 2289063 defendant Beaulieu Robert husbandman 801115 801115 Beaulieu, Robert, of Raghtonhede, husbandman 5
4777855 2289063 2289063 defendant Slawright William husbandman 789002 789002 Slawright, William, of Langholm, husbandman 6

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