{"id":21619067,"url":"https://github.com/usds/dataficator","last_synced_at":"2026-04-09T22:43:42.826Z","repository":{"id":72663414,"uuid":"495492710","full_name":"usds/dataficator","owner":"usds","description":null,"archived":false,"fork":false,"pushed_at":"2022-12-09T06:31:42.000Z","size":2305,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-18T18:19:44.595Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/usds.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2022-05-23T16:38:46.000Z","updated_at":"2022-05-23T19:08:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"6966b46d-dfb7-4288-904e-41bb7d134959","html_url":"https://github.com/usds/dataficator","commit_stats":{"total_commits":21,"total_committers":2,"mean_commits":10.5,"dds":0.4285714285714286,"last_synced_commit":"8aeeb05a9357becb831a0d5be6c96bd2debdc1ff"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/usds/dataficator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usds%2Fdataficator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usds%2Fdataficator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usds%2Fdataficator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usds%2Fdataficator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/usds","download_url":"https://codeload.github.com/usds/dataficator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usds%2Fdataficator/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267543275,"owners_count":24104538,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-24T23:07:48.697Z","updated_at":"2026-04-09T22:43:37.793Z","avatar_url":"https://github.com/usds.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dataficator\n\n[![etl](https://github.com/usds/dataficator/actions/workflows/etl.yml/badge.svg)](https://github.com/usds/dataficator/actions/workflows/etl.yml)\n\nThis repo contains sample code for reading data from a Cloudflare R2 bucket, applying some transformation to the data, and writing the results back to a Cloudflare R2 bucket. All of those operations are triggered by a Github Actions workflow associated with the repository, and triggered on a scheduled basis (the Github Actions equivalent of a cron job).\n\n## How to run this manually\n\nThe entrypoint for this system is [etl.py](./etl.py).\nThere is a Github Actions workflow defined in [.github/workflows/etl.yml](./.github/workflows/etl.yml) which specifies an environment and triggers for running etl.py.\nTwo triggers are defined:\n- A cron job (see the yaml file for current intervals)\n- A mechanism allowing manual invocation\n\nTo manually invoke etl.py inside a Github Action, click the \"Actions\" tab in Github; click \"etl\" on the left, and then \"Run workflow\"\n\n![howto](img/actions.png)\n\n## How to set up Cloudflare R2 buckets\n\n1. Get a Cloudflare account.\n2. Log into the [Cloudflare dashboard](https://dash.cloudflare.com)\n3. Click on \"Workers\" in the left-hand side nav menu and enable a Workers subdomain.\n4. Click on R2 in the left-hand side nav menu and create two R2 buckets. The etl.py code assumes that they'll be called `incoming` (for inbound data) and `inventory` (for processed results).\n5. Make the `inventory` bucket publicly readable by setting up a Cloudflare Worker to intercept incoming requests.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fusds%2Fdataficator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fusds%2Fdataficator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fusds%2Fdataficator/lists"}