Not sure if I'm doing this correctly, Josh! But I want to add my code here for "PDAP TuCan" which is what I have so far. It does the following:
Takes in input at the command line for a base CKAN URL
Appends the API URI that gets the packages list from the API for a CKAN instance (v3)
Provides error checking for that URL and issues an error to standard out and closes if you goof up your URL entry
Gets the list of packages from the CKAN instances and adds them to a dictionary data structure
Counts the number of packages available at the CKAN URL
Optional (commented out at the moment) prints the dictionary of packages available
Next steps:
Presents user with an opportunity to display the packages/maybe save them as a CSV
Allows users to choose which packages they want to download
Downloads them and their metadata in the format presented
Continue to add color coding, display consistency, and make this accessible to non-coders/people like me that need color coding for extra neurodivergent readability (I may look at the Wooey Python project or Gooey to make it even more so)
Add documentation from already existing comments and make sure code is "over-commented" as well as add a README
Add a module that posts data to the CKAN API for our instance
Make this module portable but include the option to download data from one CKAN URL as designed above, then copy to our instance
Not sure if I'm doing this correctly, Josh! But I want to add my code here for "PDAP TuCan" which is what I have so far. It does the following:
Next steps:
Presents user with an opportunity to display the packages/maybe save them as a CSV
Allows users to choose which packages they want to download
Downloads them and their metadata in the format presented
Continue to add color coding, display consistency, and make this accessible to non-coders/people like me that need color coding for extra neurodivergent readability (I may look at the Wooey Python project or Gooey to make it even more so)
Add documentation from already existing comments and make sure code is "over-commented" as well as add a README
Add a module that posts data to the CKAN API for our instance
Make this module portable but include the option to download data from one CKAN URL as designed above, then copy to our instance
Success?
Let me know if I'm missing anything!