GBLS / docassemble-MACourts

List Massachusetts Courts in Docassemble
MIT License
5 stars 11 forks source link

Add court codes/IDs to every court JSON file #14

Closed nonprofittechy closed 4 years ago

nonprofittechy commented 4 years ago

Every court has an ID associated with it, which can be alpha numeric. We want to take those IDs and add this as metadata to each court in our current JSON files.

For now, I would probably add the ID as a key named "court_id" at the same parent level as name, etc.

Full list of IDs: https://www.mass.gov/info-details/trial-court-codes-numerical-listing

Here are the JSON files that need the IDs added:

cc271793784 commented 4 years ago

https://github.com/GBLS/docassemble-MACourts/blob/master/docassemble/MACourts/data/sources/land_court.json

The land court code could not be found on the mass.gov website.

cc271793784 commented 4 years ago

Issue: For probate and family courts file, Brockton Probate and Family Court is not listed on the website as well.

nonprofittechy commented 4 years ago

Brockton Probate and Family is one of the locations of the Plymouth Probate and Family Court

cc271793784 commented 4 years ago

Brockton Probate and Family is one of the locations of the Plymouth Probate and Family Court

Got it, I've added this.

cc271793784 commented 4 years ago

All courts files with court code added is in branch add_court_code -- docassemble -- MAcourts -- data --source.

cc271793784 commented 4 years ago

Quick update: the previously bmc_addcode.json file has some issues (all code showing in 0). I've corrected it and all files are stored as the original name (without _addcode).