GSA / data.gov

Main repository for the data.gov service
https://data.gov
Other
633 stars 100 forks source link

Repopulate missing references to sub-agencies #3350

Closed mogul closed 1 year ago

mogul commented 3 years ago

Originally posted by @FuhuXia in https://github.com/GSA/datagov-deploy/issues/3175#issuecomment-878377095

The following is a list of organizations that have custom fields sub-agencies but their values are lost due to this bug. We need to manually add them back.

organization  | eda-doc-gov
sub-agencies  | department-of-commerce,bea-gov,bis-doc-gov,census-bureau,trade-gov,national-technical-information-service-department-of-commerce,ntia-doc-gov,uspto-gov,national-oceanic-and-atmospheric-administration-department-of-commerce

organization  | bis-doc-gov
sub-agencies  | nist-gov,national-oceanic-and-atmospheric-administration-department-of-commerce

organization  | department-of-commerce
sub-agencies  | bea-gov,bis-doc-gov,census-bureau,trade-gov,national-technical-information-service-department-of-commerce,ntia-doc-gov,uspto-gov,national-oceanic-and-atmospheric-administration-department-of-commerce

organization  | department-of-energy
sub-agencies  | olm-doe,fossil-energy,cfo-energy-gov,chco-energy-gov,eere-gov,em-energy-gov,eia-gov,nnsa-gov,gc-doe-gov,osti-gov,doe-ma,nrel-gov,ornl-energy-gov,office-of-nuclear-energy-department-of-energy,office-of-electricity

organization  | usda-gov
sub-agencies  | agricultural-marketing-service-department-of-agriculture,aphis-usda-gov,ers-usda-gov,fas-usda-gov,fns-usda-gov,fsa-usda-gov,fsis-usda-gov,grain-inspection-packers-stockyards-administration,nda-usda-gov,nass-usda-gov,nifa-usda-gov,nrcs-usda-gov,stl-usda-gov,risk-management-agency-department-of-agriculture

organization  | department-of-labor
sub-agencies  | us-department-of-labor-benefits-gov-program,us-department-of-labor-bureau-of-labor-statistics,us-department-of-labor-mine-safety-and-health-administration,us-department-of-labor-employee-benefits-security-administration,us-department-of-labor-employment-and-training-administration,us-department-of-labor-office-of-job-corps,us-department-of-labor-occupational-safety-and-health-administration,us-department-of-labor-office-of-federal-contract-compliance-programs,us-department-of-labor-office-of-public-affairs,us-department-of-labor-office-of-labor-management-standards,us-department-of-labor-office-of-the-assistant-secretary-for-policy,us-department-of-labor-office-of-the-solicitor,us-department-of-labor-office-of-worker-s-compensation-program,us-department-of-labor-office-of-workers-compensation-program,us-department-of-labor-wage-and-hour-division,us-department-of-labor-bureau-of-international-affairs,us-department-of-labor-veterans-employment-and-training-service,u-s-department-of-labor-office-of-the-chief-financial-officer
jbrown-xentity commented 2 years ago

This is still outstanding, and needs to be implemented.

nickumia-reisys commented 2 years ago

Is this a matter of logging into catalog and then editing the extras for each organization and adding the key sub-agencies with the associating value in the table above?

FuhuXia commented 2 years ago

Not quite. They need to be added with the correct format. I did not create a bug yet but I see the wrong format gives some weird behavior.

nickumia-reisys commented 2 years ago

Well, yeah, it's like the publishers that have to be formatted a special way.. of course I don't know what it is haha..

jbrown-xentity commented 2 years ago

Check DOE for current working example (see #3175 for implementing that)

FuhuXia commented 1 year ago

Done.

nickumia-reisys commented 1 year ago

🎤 🍂 (read: mic fall leave --> mic drop)