From 1b2d48b1040a801019cceb62716555b306170a85 Mon Sep 17 00:00:00 2001 From: James McKinney <26463+jpmckinney@users.noreply.github.com> Date: Thu, 13 Oct 2022 14:42:56 -0400 Subject: [PATCH] sql: Add missing space at start of sentence in comment. Reword array_count for clarity. --- docs/definitions/award_documents_summary.csv | 2 +- docs/definitions/award_items_summary.csv | 2 +- docs/definitions/award_suppliers_summary.csv | 2 +- docs/definitions/awards_summary.csv | 2 +- docs/definitions/buyer_summary.csv | 2 +- docs/definitions/contract_documents_summary.csv | 2 +- .../contract_implementation_documents_summary.csv | 2 +- .../contract_implementation_milestones_summary.csv | 2 +- .../contract_implementation_transactions_summary.csv | 2 +- docs/definitions/contract_items_summary.csv | 2 +- docs/definitions/contract_milestones_summary.csv | 2 +- docs/definitions/contracts_summary.csv | 2 +- docs/definitions/field_counts.csv | 2 +- docs/definitions/parties_summary.csv | 2 +- docs/definitions/planning_documents_summary.csv | 2 +- docs/definitions/planning_milestones_summary.csv | 2 +- docs/definitions/planning_summary.csv | 2 +- docs/definitions/procuringEntity_summary.csv | 2 +- docs/definitions/relatedprocesses_summary.csv | 2 +- docs/definitions/release_summary.csv | 2 +- docs/definitions/tender_documents_summary.csv | 2 +- docs/definitions/tender_items_summary.csv | 2 +- docs/definitions/tender_milestones_summary.csv | 2 +- docs/definitions/tender_summary.csv | 2 +- docs/definitions/tenderers_summary.csv | 2 +- manage.py | 6 +++--- 26 files changed, 28 insertions(+), 28 deletions(-) diff --git a/docs/definitions/award_documents_summary.csv b/docs/definitions/award_documents_summary.csv index 2668d82..c6b4870 100644 --- a/docs/definitions/award_documents_summary.csv +++ b/docs/definitions/award_documents_summary.csv @@ -10,4 +10,4 @@ data_id,integer,``id`` from the Kingfisher Process ``data`` table document,jsonb,The document object documenttype,text,Value of the ``documentType`` field in the document object format,text,Value of the ``format`` field in the document object -field_list,jsonb,"All JSON paths in the document object, expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices.This column is only available if the --field-lists option is used." +field_list,jsonb,"All JSON paths in the document object, expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices. This column is only available if the --field-lists option is used." diff --git a/docs/definitions/award_items_summary.csv b/docs/definitions/award_items_summary.csv index de02f2d..66d0d3a 100644 --- a/docs/definitions/award_items_summary.csv +++ b/docs/definitions/award_items_summary.csv @@ -15,4 +15,4 @@ unit_value_currency,text,Value of the ``unit/value/currency`` field in the item classification,text,Hyphenation ``classification/scheme`` and ``classification/id`` in the party object additionalclassifications_ids,jsonb,Hyphenation of ``scheme`` and ``id`` for each entry of the ``additionalClassifications`` array in the item object total_additionalclassifications,integer,Length of the ``additionalClassifications`` array in the item object -field_list,jsonb,"All JSON paths in the item object, expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices.This column is only available if the --field-lists option is used." +field_list,jsonb,"All JSON paths in the item object, expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices. This column is only available if the --field-lists option is used." diff --git a/docs/definitions/award_suppliers_summary.csv b/docs/definitions/award_suppliers_summary.csv index 7c15caf..705a70f 100644 --- a/docs/definitions/award_suppliers_summary.csv +++ b/docs/definitions/award_suppliers_summary.csv @@ -17,4 +17,4 @@ total_additionalidentifiers,integer,Length of the ``additionalIdentifiers`` arra link_to_parties,integer,"1 if any ``parties/id`` value matches this supplier's ``id`` value, otherwise 0" link_with_role,integer,"1 if the supplier's entry in the parties array has 'supplier' in its ``roles`` array, otherwise 0" party_index,bigint,Position of the supplier in the ``parties`` array -field_list,jsonb,"All JSON paths in the supplier object, expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices.This column is only available if the --field-lists option is used." +field_list,jsonb,"All JSON paths in the supplier object, expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices. This column is only available if the --field-lists option is used." diff --git a/docs/definitions/awards_summary.csv b/docs/definitions/awards_summary.csv index 56cd048..5bb2742 100644 --- a/docs/definitions/awards_summary.csv +++ b/docs/definitions/awards_summary.csv @@ -22,4 +22,4 @@ total_documents,bigint,Length of the ``documents`` array in the award object document_documenttype_counts,jsonb,JSONB object in which each key is a unique ``documentType`` value and each value is its number of occurrences in the ``documents`` array of the award object total_items,bigint,Length of the ``items`` array in the award object award,jsonb,The award object -field_list,jsonb,"All JSON paths in the award object as well as in the related contracts' contract object (prefixed by contracts/), expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices.This column is only available if the --field-lists option is used." +field_list,jsonb,"All JSON paths in the award object as well as in the related contracts' contract object (prefixed by contracts/), expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices. This column is only available if the --field-lists option is used." diff --git a/docs/definitions/buyer_summary.csv b/docs/definitions/buyer_summary.csv index 93fe0e5..bdeb7f5 100644 --- a/docs/definitions/buyer_summary.csv +++ b/docs/definitions/buyer_summary.csv @@ -15,4 +15,4 @@ total_additionalidentifiers,integer,Length of the ``additionalIdentifiers`` arra link_to_parties,integer,"1 if any ``parties/id`` value matches this buyer's ``id`` value, otherwise 0" link_with_role,integer,"1 if the buyer's entry in the parties array has 'buyer' in its ``roles`` array, otherwise 0" party_index,bigint,Position of the buyer in the ``parties`` array -field_list,jsonb,"All JSON paths in the buyer object, expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices.This column is only available if the --field-lists option is used." +field_list,jsonb,"All JSON paths in the buyer object, expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices. This column is only available if the --field-lists option is used." diff --git a/docs/definitions/contract_documents_summary.csv b/docs/definitions/contract_documents_summary.csv index d1487f0..a28fe88 100644 --- a/docs/definitions/contract_documents_summary.csv +++ b/docs/definitions/contract_documents_summary.csv @@ -10,4 +10,4 @@ data_id,integer,``id`` from the Kingfisher Process ``data`` table document,jsonb,The document object documenttype,text,Value of the ``documentType`` field in the document object format,text,Value of the ``format`` field in the document object -field_list,jsonb,"All JSON paths in the document object, expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices.This column is only available if the --field-lists option is used." +field_list,jsonb,"All JSON paths in the document object, expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices. This column is only available if the --field-lists option is used." diff --git a/docs/definitions/contract_implementation_documents_summary.csv b/docs/definitions/contract_implementation_documents_summary.csv index d1487f0..a28fe88 100644 --- a/docs/definitions/contract_implementation_documents_summary.csv +++ b/docs/definitions/contract_implementation_documents_summary.csv @@ -10,4 +10,4 @@ data_id,integer,``id`` from the Kingfisher Process ``data`` table document,jsonb,The document object documenttype,text,Value of the ``documentType`` field in the document object format,text,Value of the ``format`` field in the document object -field_list,jsonb,"All JSON paths in the document object, expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices.This column is only available if the --field-lists option is used." +field_list,jsonb,"All JSON paths in the document object, expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices. This column is only available if the --field-lists option is used." diff --git a/docs/definitions/contract_implementation_milestones_summary.csv b/docs/definitions/contract_implementation_milestones_summary.csv index 3aa1f4f..cc1b0d7 100644 --- a/docs/definitions/contract_implementation_milestones_summary.csv +++ b/docs/definitions/contract_implementation_milestones_summary.csv @@ -11,4 +11,4 @@ milestone,jsonb,The milestone object type,text,Value of the ``type`` field in the milestone object code,text,Value of the ``code`` field in the milestone object status,text,Value of the ``status`` field in the milestone object -field_list,jsonb,"All JSON paths in the milestone object, expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices.This column is only available if the --field-lists option is used." +field_list,jsonb,"All JSON paths in the milestone object, expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices. This column is only available if the --field-lists option is used." diff --git a/docs/definitions/contract_implementation_transactions_summary.csv b/docs/definitions/contract_implementation_transactions_summary.csv index 473721f..1b04e47 100644 --- a/docs/definitions/contract_implementation_transactions_summary.csv +++ b/docs/definitions/contract_implementation_transactions_summary.csv @@ -11,4 +11,4 @@ transaction,jsonb,The transaction object date,text,Value of the ``date`` field in the transaction object value_amount,numeric,"Value of the ``value/amount`` field, or the deprecated ``amount/amount`` field, in the transaction object" value_currency,text,"Value of the ``value/currency`` field, or the deprecated ``amount/currency`` field, in the transaction object" -field_list,jsonb,"All JSON paths in the transaction object, expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices.This column is only available if the --field-lists option is used." +field_list,jsonb,"All JSON paths in the transaction object, expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices. This column is only available if the --field-lists option is used." diff --git a/docs/definitions/contract_items_summary.csv b/docs/definitions/contract_items_summary.csv index b21553e..afdae47 100644 --- a/docs/definitions/contract_items_summary.csv +++ b/docs/definitions/contract_items_summary.csv @@ -15,4 +15,4 @@ unit_value_currency,text,Value of the ``unit/value/currency`` field in the item classification,text,Hyphenation ``classification/scheme`` and ``classification/id`` in the party object additionalclassifications_ids,jsonb,Hyphenation of ``scheme`` and ``id`` for each entry of the ``additionalClassifications`` array in the item object total_additionalclassifications,integer,Length of the ``additionalClassifications`` array in the item object -field_list,jsonb,"All JSON paths in the item object, expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices.This column is only available if the --field-lists option is used." +field_list,jsonb,"All JSON paths in the item object, expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices. This column is only available if the --field-lists option is used." diff --git a/docs/definitions/contract_milestones_summary.csv b/docs/definitions/contract_milestones_summary.csv index 3aa1f4f..cc1b0d7 100644 --- a/docs/definitions/contract_milestones_summary.csv +++ b/docs/definitions/contract_milestones_summary.csv @@ -11,4 +11,4 @@ milestone,jsonb,The milestone object type,text,Value of the ``type`` field in the milestone object code,text,Value of the ``code`` field in the milestone object status,text,Value of the ``status`` field in the milestone object -field_list,jsonb,"All JSON paths in the milestone object, expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices.This column is only available if the --field-lists option is used." +field_list,jsonb,"All JSON paths in the milestone object, expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices. This column is only available if the --field-lists option is used." diff --git a/docs/definitions/contracts_summary.csv b/docs/definitions/contracts_summary.csv index 1aa6599..fa4a3c0 100644 --- a/docs/definitions/contracts_summary.csv +++ b/docs/definitions/contracts_summary.csv @@ -29,4 +29,4 @@ implementation_document_documenttype_counts,jsonb,JSONB object in which each key total_implementation_milestones,bigint,Length of the ``implementation/milestones`` array in the contract object implementation_milestone_type_counts,jsonb,JSONB object in which each key is a unique ``type`` value and each value is its number of occurrences in the ``implementation/milestones`` array of the contract object contract,jsonb,The contract object -field_list,jsonb,"All JSON paths in the contract object as well as in the related award's award object (prefixed by awards/), expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices.This column is only available if the --field-lists option is used." +field_list,jsonb,"All JSON paths in the contract object as well as in the related award's award object (prefixed by awards/), expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices. This column is only available if the --field-lists option is used." diff --git a/docs/definitions/field_counts.csv b/docs/definitions/field_counts.csv index b191544..63fc202 100644 --- a/docs/definitions/field_counts.csv +++ b/docs/definitions/field_counts.csv @@ -3,5 +3,5 @@ collection_id,bigint,``id`` from the Kingfisher Process ``collection`` table release_type,text,"Either ""release"", ""compiled_release"", ""record"" or ""embedded_release""" path,text,"JSON path of the field, excluding array indices" object_property,bigint,"Number of occurrences of the field, across all array entries and all releases" -array_count,bigint,"Cumulative length of all occurrences of the field, if it is an array, across all array entries and all releases" +array_count,bigint,"If the field is an array, cumulative length of its occurrences, across all array entries and all releases" distinct_releases,bigint,Number of releases in which the field occurs diff --git a/docs/definitions/parties_summary.csv b/docs/definitions/parties_summary.csv index b605cd8..562dd8f 100644 --- a/docs/definitions/parties_summary.csv +++ b/docs/definitions/parties_summary.csv @@ -14,4 +14,4 @@ unique_identifier_attempt,text,"Value of the ``id`` field in the party object if additionalidentifiers_ids,jsonb,Hyphenation of ``scheme`` and ``id`` for each entry of the ``additionalIdentifiers`` array in the party object total_additionalidentifiers,integer,Length of the ``additionalIdentifiers`` array in the party object party,jsonb,The party object -field_list,jsonb,"All JSON paths in the party object, expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices.This column is only available if the --field-lists option is used." +field_list,jsonb,"All JSON paths in the party object, expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices. This column is only available if the --field-lists option is used." diff --git a/docs/definitions/planning_documents_summary.csv b/docs/definitions/planning_documents_summary.csv index 9d282dd..3a1d47b 100644 --- a/docs/definitions/planning_documents_summary.csv +++ b/docs/definitions/planning_documents_summary.csv @@ -9,4 +9,4 @@ data_id,integer,``id`` from the Kingfisher Process ``data`` table document,jsonb,The document object documenttype,text,Value of the ``documentType`` field in the document object format,text,Value of the ``format`` field in the document object -field_list,jsonb,"All JSON paths in the document object, expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices.This column is only available if the --field-lists option is used." +field_list,jsonb,"All JSON paths in the document object, expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices. This column is only available if the --field-lists option is used." diff --git a/docs/definitions/planning_milestones_summary.csv b/docs/definitions/planning_milestones_summary.csv index a8711d2..c259376 100644 --- a/docs/definitions/planning_milestones_summary.csv +++ b/docs/definitions/planning_milestones_summary.csv @@ -10,4 +10,4 @@ milestone,jsonb,The milestone object type,text,Value of the ``type`` field in the milestone object code,text,Value of the ``code`` field in the milestone object status,text,Value of the ``status`` field in the milestone object -field_list,jsonb,"All JSON paths in the milestone object, expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices.This column is only available if the --field-lists option is used." +field_list,jsonb,"All JSON paths in the milestone object, expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices. This column is only available if the --field-lists option is used." diff --git a/docs/definitions/planning_summary.csv b/docs/definitions/planning_summary.csv index 65e84d2..60cbe8a 100644 --- a/docs/definitions/planning_summary.csv +++ b/docs/definitions/planning_summary.csv @@ -13,4 +13,4 @@ document_documenttype_counts,jsonb,JSONB object in which each key is a unique `` total_milestones,bigint,Length of the ``milestones`` array in the planning object milestone_type_counts,jsonb,JSONB object in which each key is a unique ``type`` value and each value is its number of occurrences in the ``milestones`` array of the planning object planning,jsonb,The planning object -field_list,jsonb,"All JSON paths in the planning object, expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices.This column is only available if the --field-lists option is used." +field_list,jsonb,"All JSON paths in the planning object, expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices. This column is only available if the --field-lists option is used." diff --git a/docs/definitions/procuringEntity_summary.csv b/docs/definitions/procuringEntity_summary.csv index b1dc38e..ba6e64f 100644 --- a/docs/definitions/procuringEntity_summary.csv +++ b/docs/definitions/procuringEntity_summary.csv @@ -15,4 +15,4 @@ total_additionalidentifiers,integer,Length of the ``additionalIdentifiers`` arra link_to_parties,integer,"1 if any ``parties/id`` value matches this procuring entity's ``id`` value, otherwise 0" link_with_role,integer,"1 if the procuring entity's entry in the parties array has 'procuringEntity' in its ``roles`` array, otherwise 0" party_index,bigint,Position of the procuring entity in the ``parties`` array -field_list,jsonb,"All JSON paths in the procuringentity object, expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices.This column is only available if the --field-lists option is used." +field_list,jsonb,"All JSON paths in the procuringentity object, expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices. This column is only available if the --field-lists option is used." diff --git a/docs/definitions/relatedprocesses_summary.csv b/docs/definitions/relatedprocesses_summary.csv index eaba53f..4fab60b 100644 --- a/docs/definitions/relatedprocesses_summary.csv +++ b/docs/definitions/relatedprocesses_summary.csv @@ -13,4 +13,4 @@ title,text,Value of the ``title`` field in the related process object scheme,text,Value of the ``scheme`` field in the related process object identifier,text,Value of the ``identifier`` field in the related process object uri,text,Value of the ``uri`` field in the related process object -field_list,jsonb,"All JSON paths in the relatedprocess object, expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices.This column is only available if the --field-lists option is used." +field_list,jsonb,"All JSON paths in the relatedprocess object, expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices. This column is only available if the --field-lists option is used." diff --git a/docs/definitions/release_summary.csv b/docs/definitions/release_summary.csv index b3255ad..7021180 100644 --- a/docs/definitions/release_summary.csv +++ b/docs/definitions/release_summary.csv @@ -59,4 +59,4 @@ release_check,jsonb,`Data Review Tool output `__ record_check11,jsonb,"Data Review Tool output, forcing OCDS 1.1" -field_list,jsonb,"All JSON paths in the release object, expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices.This column is only available if the --field-lists option is used." +field_list,jsonb,"All JSON paths in the release object, expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices. This column is only available if the --field-lists option is used." diff --git a/docs/definitions/tender_documents_summary.csv b/docs/definitions/tender_documents_summary.csv index 9d282dd..3a1d47b 100644 --- a/docs/definitions/tender_documents_summary.csv +++ b/docs/definitions/tender_documents_summary.csv @@ -9,4 +9,4 @@ data_id,integer,``id`` from the Kingfisher Process ``data`` table document,jsonb,The document object documenttype,text,Value of the ``documentType`` field in the document object format,text,Value of the ``format`` field in the document object -field_list,jsonb,"All JSON paths in the document object, expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices.This column is only available if the --field-lists option is used." +field_list,jsonb,"All JSON paths in the document object, expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices. This column is only available if the --field-lists option is used." diff --git a/docs/definitions/tender_items_summary.csv b/docs/definitions/tender_items_summary.csv index 78dd2b6..ac1e02e 100644 --- a/docs/definitions/tender_items_summary.csv +++ b/docs/definitions/tender_items_summary.csv @@ -14,4 +14,4 @@ unit_value_currency,text,Value of the ``unit/value/currency`` field in the item classification,text,Hyphenation ``classification/scheme`` and ``classification/id`` in the party object additionalclassifications_ids,jsonb,Hyphenation of ``scheme`` and ``id`` for each entry of the ``additionalClassifications`` array in the item object total_additionalclassifications,integer,Length of the ``additionalClassifications`` array in the item object -field_list,jsonb,"All JSON paths in the item object, expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices.This column is only available if the --field-lists option is used." +field_list,jsonb,"All JSON paths in the item object, expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices. This column is only available if the --field-lists option is used." diff --git a/docs/definitions/tender_milestones_summary.csv b/docs/definitions/tender_milestones_summary.csv index a8711d2..c259376 100644 --- a/docs/definitions/tender_milestones_summary.csv +++ b/docs/definitions/tender_milestones_summary.csv @@ -10,4 +10,4 @@ milestone,jsonb,The milestone object type,text,Value of the ``type`` field in the milestone object code,text,Value of the ``code`` field in the milestone object status,text,Value of the ``status`` field in the milestone object -field_list,jsonb,"All JSON paths in the milestone object, expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices.This column is only available if the --field-lists option is used." +field_list,jsonb,"All JSON paths in the milestone object, expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices. This column is only available if the --field-lists option is used." diff --git a/docs/definitions/tender_summary.csv b/docs/definitions/tender_summary.csv index d4f42e7..652ab1e 100644 --- a/docs/definitions/tender_summary.csv +++ b/docs/definitions/tender_summary.csv @@ -44,4 +44,4 @@ total_milestones,bigint,Length of the ``milestones`` array in the tender object milestone_type_counts,jsonb,JSONB object in which each key is a unique ``type`` value and each value is its number of occurrences in the ``milestones`` array of the tender object total_items,bigint,Length of the ``items`` array in the tender object tender,jsonb,The tender object -field_list,jsonb,"All JSON paths in the tender object, expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices.This column is only available if the --field-lists option is used." +field_list,jsonb,"All JSON paths in the tender object, expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices. This column is only available if the --field-lists option is used." diff --git a/docs/definitions/tenderers_summary.csv b/docs/definitions/tenderers_summary.csv index 629df8d..b96a431 100644 --- a/docs/definitions/tenderers_summary.csv +++ b/docs/definitions/tenderers_summary.csv @@ -16,4 +16,4 @@ total_additionalidentifiers,integer,Length of the ``additionalIdentifiers`` arra link_to_parties,integer,"1 if any ``parties/id`` value matches this tenderer's ``id`` value, otherwise 0" link_with_role,integer,"1 if the tenderer's entry in the parties array has 'tenderer' in its ``roles`` array, otherwise 0" party_index,bigint,Position of the tenderer in the ``parties`` array -field_list,jsonb,"All JSON paths in the tenderer object, expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices.This column is only available if the --field-lists option is used." +field_list,jsonb,"All JSON paths in the tenderer object, expressed as a JSONB object in which keys are paths and values are numbers of occurrences. Paths exclude array indices. This column is only available if the --field-lists option is used." diff --git a/manage.py b/manage.py index 779dda0..11501bc 100755 --- a/manage.py +++ b/manage.py @@ -547,8 +547,8 @@ def field_counts(name): "'JSON path of the field, excluding array indices'") db.execute("COMMENT ON COLUMN field_counts.object_property IS " "'Number of occurrences of the field, across all array entries and all releases'") - db.execute("COMMENT ON COLUMN field_counts.array_count IS 'Cumulative length " - "of all occurrences of the field, if it is an array, across all array entries and all releases'") + db.execute("COMMENT ON COLUMN field_counts.array_count IS 'If the field is an array, " + "cumulative length of its occurrences, across all array entries and all releases'") db.execute("COMMENT ON COLUMN field_counts.distinct_releases IS " "'Number of releases in which the field occurs'") db.commit() @@ -698,7 +698,7 @@ def _run_field_lists(name, summary_table, tables_only): else: comment = f"All JSON paths in the {table.data_column} object, expressed as a JSONB object in which keys are " \ "paths and values are numbers of occurrences. Paths exclude array indices." - comment += 'This column is only available if the --field-lists option is used.' + comment += ' This column is only available if the --field-lists option is used.' db.execute('COMMENT ON COLUMN {table}.field_list IS %(comment)s', {'comment': comment}, table=summary_table) db.commit()