{"id":35016013,"url":"https://github.com/flowr-analysis/sample-analyzer-project-query","last_synced_at":"2026-05-22T19:35:27.419Z","repository":{"id":323122438,"uuid":"1080305430","full_name":"flowr-analysis/sample-analyzer-project-query","owner":"flowr-analysis","description":"Showcases how to analyze a project with flowR","archived":false,"fork":false,"pushed_at":"2026-04-04T14:11:50.000Z","size":90,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-04T16:04:01.188Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/flowr-analysis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-21T07:15:42.000Z","updated_at":"2026-04-04T14:11:54.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/flowr-analysis/sample-analyzer-project-query","commit_stats":null,"previous_names":["flowr-analysis/sample-analyzer-project-query"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/flowr-analysis/sample-analyzer-project-query","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flowr-analysis%2Fsample-analyzer-project-query","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flowr-analysis%2Fsample-analyzer-project-query/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flowr-analysis%2Fsample-analyzer-project-query/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flowr-analysis%2Fsample-analyzer-project-query/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flowr-analysis","download_url":"https://codeload.github.com/flowr-analysis/sample-analyzer-project-query/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flowr-analysis%2Fsample-analyzer-project-query/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33362367,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-21T12:23:38.849Z","status":"online","status_checked_at":"2026-05-22T02:00:06.671Z","response_time":265,"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":"2025-12-27T05:19:57.300Z","updated_at":"2026-05-22T19:35:27.412Z","avatar_url":"https://github.com/flowr-analysis.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# How to query an R project with flowR\n\nThis is a sample project that demonstrates how to use the [`flowR`](https://github.com/flowr-analysis/flowr) library to analyze and query R projects. Follow the steps below to set up and run the project.\n\nPlease note that this is a minimal example, with bigger files JavaScript's `JSON.stringify` might encounter a too-long string, in such cases it is up to you to serialize/compress the results (check out the flowR wiki, we offer several ways to handle large results).\n\nIf you want to try this out with docker, you can run the following in your directory (or add paths to your liking)\nto use a deployed [docker image](https://hub.docker.com/r/eagleoutice/sample-flowr-project-query):\n\n```bash\n docker run -it --rm -u \"$(id -u):$(id -g)\" -v \"$PWD\":\"/data\" eagleoutice/sample-flowr-project-query:latest /data/sample-project /data/output.json\n ```\n\n## Quickstart\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/flowr-analysis/sample-analyzer-project-query.git\n   cd sample-analyzer-project-query\n   ```\n\n2. Install the dependencies:\n\n   ```bash\n   npm install\n   ```\n\n3. Run the main script with a project folder and a file to dump the results to:\n\n   ```bash  \n   npm run main -- sample-project output.json\n   ```\n\n4. Check the `output.json` file for the query results.\n\n## Changing the Query\n\nSee [`src/query.ts`](src/query.ts) to modify the query that is run against the R project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflowr-analysis%2Fsample-analyzer-project-query","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflowr-analysis%2Fsample-analyzer-project-query","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflowr-analysis%2Fsample-analyzer-project-query/lists"}