Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move data source collection tools to data-source-identification #252

Open
2 tasks
josh-chamberlain opened this issue Nov 13, 2024 · 2 comments
Open
2 tasks

Comments

@josh-chamberlain
Copy link
Contributor

Context

https://github.com/Police-Data-Accessibility-Project/data-source-identification

The Scrapers repo is for collecting data from one or more source at a time for use/analysis.

However, we have some tools for scraping with the express goal of generating sources (lists of URLs) for submission to our database. We have tools in the data source ID repo which can parse those lists of URLs, either identifying agencies, sending the URLs to our annotation pipeline, etc.

Requirements

  • move the scripts for collecting data sources from MuckRock and CKAN to the Data Source Identification repo
    • this will require one PR to remove them, and one to add them; make sure they are linked to each other and we'll approve both at once
    • they probably belong in a subfolder with common_crawler called something like "source_collectors"
  • optionally, develop a lightweight system for tracking sources which have been tried so we can reduce duplication of effort (every time we run the MuckRock or CKAN scraper, for example, we should avoid trying to submit those sources which we already collected the previous time)
@eddie-m-m
Copy link
Contributor

Clarification needed:
There is the muckrock_tools and then there is the muckrock_scraper.py with templates. Should only the muckrock_tools be moved (since the other doesn't appear to deal with source collection)?

@josh-chamberlain
Copy link
Contributor Author

@eddie-m-m good catch, yes! The other one is for grabbing files from MuckRock, and it's in the right spot!

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

No branches or pull requests

2 participants