Skip to content

Conversation

@EvilDrPurple
Copy link
Contributor

Description

Testing

  1. Checkout the branch
  2. In the source_collectors/ckan folder, create a CSV file with a column labeled "url" and populate it with urls. Below is an example CSV file that may be used for testing
  3. In the root project directory, create a virtual env and activate it
    python -m venv venv
    source venv/bin/activate
  4. Install the requirements
    pip install -r requirements.txt
  5. (Optional) Move to the ckan folder
    cd source_collectors/ckan
  6. Run the program with the CSV file as the second argument
    python ckan_identifier.py urls.csv
  7. Output will be located in output.csv

Sample CSV:

url
https://catalog.data.gov/dataset/operation-aquila
https://github.com/Police-Data-Accessibility-Project/data-source-identification/compare/ckan-identifier?expand=1
https://docs.ckan.org/en/2.9/api/
https://data.gov/open-gov/
https://data.boston.gov/dataset/police-districts
https://open.jacksonms.gov/dataset/police-precinct-city-of-jackson-and-wards
https://duckduckgo.com/
https://docs.pola.rs/

@maxachis maxachis closed this Apr 17, 2025
@maxachis maxachis deleted the ckan-identifier branch April 17, 2025 19:41
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.

3 participants