home / cp40x

names

8 rows where case_id = 2190101

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4466231 2190101 2190101 plaintiff York   in   York, abbot of the BM, in 0
4466232 2190101 2190101 defendant Rombilowe John maltster 586067 586067 Rombilowe, John, of York, maltster 0
4466233 2190101 2190101 defendant Crank Stepyne   586067 586067 Crank, Stepyne, of York, girdle maker 1
4466234 2190101 2190101 defendant Rouclif William de shoemaker 586067 586067 Rouclif, William de, of York, shoemaker 2
4466235 2190101 2190101 defendant Knyght William weaver 586067 586067 Knyght, William, of York, weaver 3
4466236 2190101 2190101 defendant Kerby Robert de weaver 586067 586067 Kerby, Robert de, of York, weaver 4
4466237 2190101 2190101 defendant Taillour Ralph   590149 590149 Taillour, Ralph, of Clifton 5
4466238 2190101 2190101 defendant Sadiller Thomas     Sadiller, Thomas 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.297ms