home / cp40x

names

6 rows where place_id = 613490

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, role, surname, forename, raw_segment, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3698620 1925781 1925781 plaintiff Warnar John butcher 613490 613490 Warnar, John, of Ketteryng, butcher 0
3921150 1997426 1997426 defendant Sawyer Edmund baker 613490 613490 Sawyer, Edmund, of Ketteryng, baker 0
4524586 2208022 2208022 defendant Bocher Thomas   613490 613490 Bocher, Thomas, of Ketteryng 0
4556109 2217854 2217854 defendant Goldryng John   613490 613490 Goldryng, John, of Ketteryng 0
4556110 2217854 2217854 defendant Bocher Thomas   613490 613490 Bocher, Thomas, of Ketteryng 1
5132017 2395852 2395852 plaintiff Myles John   613490 613490 Myles, John, of Ketteryng 1

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