{"id":21025235,"url":"https://github.com/worldhealthorganization/finderquery","last_synced_at":"2025-08-17T22:16:52.427Z","repository":{"id":41588325,"uuid":"301895299","full_name":"WorldHealthOrganization/finderquery","owner":"WorldHealthOrganization","description":"Utilities for building Finder queries in a simple and intuitive way, including an API that and web application that provides an interface for building a query and downloading documents.","archived":false,"fork":false,"pushed_at":"2023-07-18T23:53:55.000Z","size":5672,"stargazers_count":0,"open_issues_count":22,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-01-20T13:46:57.011Z","etag":null,"topics":["eios"],"latest_commit_sha":null,"homepage":"","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WorldHealthOrganization.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}},"created_at":"2020-10-07T01:18:20.000Z","updated_at":"2021-02-04T11:35:36.000Z","dependencies_parsed_at":"2024-11-19T11:42:15.941Z","dependency_job_id":"5fe53260-5ac0-4628-8a3b-5707f6ff3ac9","html_url":"https://github.com/WorldHealthOrganization/finderquery","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WorldHealthOrganization%2Ffinderquery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WorldHealthOrganization%2Ffinderquery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WorldHealthOrganization%2Ffinderquery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WorldHealthOrganization%2Ffinderquery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WorldHealthOrganization","download_url":"https://codeload.github.com/WorldHealthOrganization/finderquery/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243456653,"owners_count":20293907,"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","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":["eios"],"created_at":"2024-11-19T11:31:44.787Z","updated_at":"2025-03-13T18:25:10.453Z","avatar_url":"https://github.com/WorldHealthOrganization.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"# finderquery\n\n\u003c!-- badges: start --\u003e\n[![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://www.tidyverse.org/lifecycle/#experimental)\n\u003c!-- [![R build status](https://github.com/hafen/finderquery/workflows/R-CMD-check/badge.svg)](https://github.com/hafen/finderquery/actions) --\u003e\n\u003c!-- badges: end --\u003e\n\nThe finderquery package provides utilities for building Finder queries in a simple and intuitive way. It also provides an API that uses these utilities as well as code for a web application that provides an interface for building a query and downloading documents.\n\nNote that this package is not of general use to the public. It is built to work against the Finder system used by EIOS. It is only made public to make it easier to share with EIOS, as there is nothing proprietary stored in this repository.\n\n## Installation\n\nYou can install the package from Github with:\n\n```r\n# install.packages(\"remotes\")\nremotes::install_github(\"hafen/finderquery\")\n```\n\n## Examples\n\nSee the full \"usage\" documentation for many more examples as well as details on how everything works.\n\n```r\nlibrary(finderquery)\n\n# specify Finder location\ncon \u003c- finder_connect(\"10.49.4.6\")\n\n# query all documents in German that have category \"CoronavirusInfection\" \n# that were published in the last two days, sorted by publication date\nres \u003c- query_fetch(con) %\u003e%\n  filter_language(\"de\") %\u003e%\n  filter_category(\"CoronavirusInfection\") %\u003e%\n  filter_pubdate(from = as.Date(Sys.time()) - 2) %\u003e%\n  run()\n\n# count documents by top 10 categories over the last 2 days\nres \u003c- query_facet(con) %\u003e%\n  filter_pubdate(from = as.Date(Sys.time()) - 2) %\u003e%\n  facet_by(\"category\", limit = 10) %\u003e%\n  run()\n\n# count documents daily for all \"CoronavirusInfection\" articles over\n# the last 20 days, hourly\nres \u003c- query_facet(con) %\u003e%\n  filter_category(\"coronavirusinfection\") %\u003e%\n  facet_date_range(\n    start = as.Date(Sys.time()) - 20,\n    end = as.Date(Sys.time()),\n    gap = range_gap(1, \"HOUR\")\n  ) %\u003e%\n  run()\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fworldhealthorganization%2Ffinderquery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fworldhealthorganization%2Ffinderquery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fworldhealthorganization%2Ffinderquery/lists"}