Skip to content

updates to flowsa metadata#399

Merged
catherinebirney merged 24 commits intodevelopfrom
metadata
Jan 18, 2024
Merged

updates to flowsa metadata#399
catherinebirney merged 24 commits intodevelopfrom
metadata

Conversation

@catherinebirney
Copy link
Copy Markdown
Contributor

@catherinebirney catherinebirney commented Jan 5, 2024

  • option to specify git version/hash when returning an FBA
  • new fxn compare_FBA_results() to compare the results of two FBA dataframes
  • new github action to compare an FBA method to an FBA parquet on Data Commons
  • updates to FBS metadata - output json captures the metadata for all FBAs identified in an FBS yaml for all recrusive/sequential datasets
  • drop FBS in source_catalog. Update all calls of Employment FBS in method yamls to include data_format definition
  • updates to FBA publication and download dates

# Conflicts:
#	flowsa/methods/flowbyactivitymethods/BEA_Make_AR.yaml
#	flowsa/methods/flowbyactivitymethods/BEA_Make_Detail_BeforeRedef.yaml
# Conflicts:
#	flowsa/methods/flowbyactivitymethods/CalRecycle_WasteCharacterization.yaml
# Conflicts:
#	flowsa/methods/flowbyactivitymethods/BEA_GDP_GrossOutput.yaml
#	flowsa/methods/flowbyactivitymethods/BEA_Make_Detail_BeforeRedef.yaml
#	flowsa/methods/flowbyactivitymethods/BEA_Use_Detail_PRO_BeforeRedef.yaml
…ame one to _fba_sector_fields and _fbs_sector_fields
# Conflicts:
#	flowsa/methods/flowbyactivitymethods/BEA_GDP_GrossOutput.yaml
#	flowsa/methods/flowbyactivitymethods/BEA_Make_AR.yaml
add source publication dates to FBAs - bibliography not yet updated to include
@catherinebirney catherinebirney marked this pull request as ready for review January 12, 2024 23:09
@catherinebirney catherinebirney marked this pull request as draft January 13, 2024 01:10
@catherinebirney catherinebirney marked this pull request as ready for review January 13, 2024 01:11
@catherinebirney catherinebirney marked this pull request as draft January 17, 2024 16:38
@catherinebirney catherinebirney marked this pull request as ready for review January 17, 2024 16:38
@catherinebirney
Copy link
Copy Markdown
Contributor Author

@bl-young Once the checks complete I'd like to pull this PR into master to check the new compare FBA github action is working correctly

@bl-young
Copy link
Copy Markdown
Contributor

You can also commit .github/workflows/compare_single_FBA.yml by itself directly to master and then test on this branch without pulling everything else in first

@catherinebirney
Copy link
Copy Markdown
Contributor Author

You can also commit .github/workflows/compare_single_FBA.yml by itself directly to master and then test on this branch without pulling everything else in first

That is a better idea, I will do that, thanks!

@catherinebirney
Copy link
Copy Markdown
Contributor Author

@bl-young The new github action works. I am done with changes on this branch, so this PR is ready to be pulled in

@bl-young
Copy link
Copy Markdown
Contributor

Awesome - any ideas of an FBA that has changed that we could test this on? Nothing immediate comes to mind for me.

@catherinebirney
Copy link
Copy Markdown
Contributor Author

I locally tested on FBAs that have changed - Census_PEP_Poplulation changed between v1.3.0 and v2.0.0 but there won't be any differences in the FBAs flowsa creates right now vs what is on data commons, so you would need to download those files

Copy link
Copy Markdown
Contributor

@bl-young bl-young left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is source_publication_date meant to appear in the FBA metadata?

@catherinebirney catherinebirney marked this pull request as draft January 17, 2024 22:11
@catherinebirney catherinebirney marked this pull request as ready for review January 17, 2024 22:11
@catherinebirney
Copy link
Copy Markdown
Contributor Author

yes, thanks - I added the source pub date to FBA metadata json. I'll pull this in when the checks are done

@catherinebirney catherinebirney merged commit 037fd96 into develop Jan 18, 2024
@catherinebirney catherinebirney deleted the metadata branch January 18, 2024 01:54
@bl-young bl-young added this to the 2.0.x milestone Mar 25, 2024
@bl-young bl-young modified the milestones: 2.0.x, 2.0.2 Jun 11, 2024
@bl-young bl-young mentioned this pull request Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants