WIP: feat(scripts): initial commit ingestor #4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "ingestor"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@hernani @ijohn For your review.
Running the script (
python3 scripts/ingest.pywith the necessary python dependencies installed) will create a whole bunch of json files indata/projectswhich look like this:Now, this in and off itself is not much, as it is just reformatting the ngi grant level data. However, the script has the capabilities to aggregate project level data from multiple grants, IF the variables
GRANTID2PROJECTandPROJECT2DESCRIPTIONare correctly filled in. The question now is, how do we fill in these data programmatically? @ijohn Is there a way to get the hex data in a more consumable form than parsing the html?The resulting json files are also not schema compliant yet.
0fbfd1f961a6569922d6View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.