{"id":30687649,"url":"https://github.com/franloza/contratosdemadrid","last_synced_at":"2025-09-02T00:04:46.707Z","repository":{"id":297654506,"uuid":"992101949","full_name":"franloza/contratosdemadrid","owner":"franloza","description":"This project is an interactive web application for exploring and analyzing public contracts in the Community of Madrid. It allows users to search for companies and view their contract details, aiming to promote transparency and facilitate access to public information. ","archived":false,"fork":false,"pushed_at":"2025-06-06T16:04:34.000Z","size":207,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-06T17:21:36.537Z","etag":null,"topics":["data-visualization","duckdb","evidence","open-data"],"latest_commit_sha":null,"homepage":"https://contratosdemadrid.franloza.com","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/franloza.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-28T16:09:34.000Z","updated_at":"2025-06-06T16:04:35.000Z","dependencies_parsed_at":"2025-06-06T17:33:02.750Z","dependency_job_id":null,"html_url":"https://github.com/franloza/contratosdemadrid","commit_stats":null,"previous_names":["franloza/contratosdemadrid"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/franloza/contratosdemadrid","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/franloza%2Fcontratosdemadrid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/franloza%2Fcontratosdemadrid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/franloza%2Fcontratosdemadrid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/franloza%2Fcontratosdemadrid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/franloza","download_url":"https://codeload.github.com/franloza/contratosdemadrid/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/franloza%2Fcontratosdemadrid/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273208777,"owners_count":25064204,"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-09-01T02:00:09.058Z","response_time":120,"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":["data-visualization","duckdb","evidence","open-data"],"created_at":"2025-09-02T00:03:53.386Z","updated_at":"2025-09-02T00:04:46.619Z","avatar_url":"https://github.com/franloza.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Contratos de Madrid\n\nThis project provides scripts to download and process contract data from the Comunidad de Madrid public contracts portal.\n\nYou can view the live application at [contratosdemadrid.franloza.com](https://contratosdemadrid.franloza.com).\n\n## Setup\n\n1.  **Clone the repository (if you haven't already):**\n    ```bash\n    git clone \u003cyour-repository-url\u003e\n    cd contratosdemadrid\n    ```\n\n2.  **Install dependencies and set up the environment:**\n    This command will create a virtual environment, install Python packages, and download necessary browser binaries.\n    ```bash\n    make install\n    ```\n\n## Extract Data\n\nDownload contract data for a specified date range. Dates must be in `YYYY-MM-DD` format.\nYou can optionally specify a delay in seconds between downloads.\n\n```bash\nmake extract START_DATE=YYYY-MM-DD END_DATE=YYYY-MM-DD [DELAY_SECONDS=N]\n```\n**Example:**\n```bash\nmake extract START_DATE=2023-01-01 END_DATE=2023-03-31 DELAY_SECONDS=5\n```\n\n## Transform Data\n\nProcess the extracted data to create refined data models.\n```bash\nmake transform\n```\n\n## Init Application\n\nThe application is an Evidence project located in `src/app/`. To run it:\n\n1.  **Navigate to the app directory:**\n    ```bash\n    cd src/app\n    ```\n2.  **Install npm dependencies:**\n    ```bash\n    npm install\n    ```\n3.  **Build data sources for Evidence:**\n    ```bash\n    npm run sources\n    ```\n4.  **Run the development server:**\n    ```bash\n    npm run dev\n    ```\n    Open your browser to the address indicated in the terminal (usually `http://localhost:3000`).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffranloza%2Fcontratosdemadrid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffranloza%2Fcontratosdemadrid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffranloza%2Fcontratosdemadrid/lists"}