home / cp40x

names

7 rows where case_id = 2173037

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4426304 2173037 2173037 plaintiff Nostell   in   Nostell, prior of St Oswald's, in 0
4426305 2173037 2173037 defendant Insula or Island William de   586406 586406 Insula or Island, William de, of Hopton 0
4426306 2173037 2173037 defendant Insula or Island John de   586406 586406 Insula or Island, John de, of Hopton 1
4426307 2173037 2173037 defendant Sutton James de     Sutton, James de 2
4426308 2173037 2173037 defendant Balcok William   779882 779882 Balcok, William, of Hathelsay, son of Alan 3
4426309 2173037 2173037 defendant West Hathelsay William de son of Robert   West Hathelsay, William de, son of Robert 4
4426310 2173037 2173037 defendant Edelyngton Robert de   755189 755189 Edelyngton, Robert de, of Berewyk in Elmet 5

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 11.514ms