{"id":13941177,"url":"https://github.com/Appsilon/weighted-picker-input","last_synced_at":"2025-07-20T04:30:49.086Z","repository":{"id":187971541,"uuid":"617394930","full_name":"Appsilon/weighted-picker-input","owner":"Appsilon","description":null,"archived":false,"fork":false,"pushed_at":"2023-03-23T08:52:59.000Z","size":29,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-05T13:48:09.666Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/Appsilon.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":"2023-03-22T09:55:44.000Z","updated_at":"2023-05-10T17:09:20.000Z","dependencies_parsed_at":"2023-08-13T03:11:37.700Z","dependency_job_id":null,"html_url":"https://github.com/Appsilon/weighted-picker-input","commit_stats":null,"previous_names":["appsilon/weighted-picker-input"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Appsilon/weighted-picker-input","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Appsilon%2Fweighted-picker-input","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Appsilon%2Fweighted-picker-input/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Appsilon%2Fweighted-picker-input/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Appsilon%2Fweighted-picker-input/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Appsilon","download_url":"https://codeload.github.com/Appsilon/weighted-picker-input/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Appsilon%2Fweighted-picker-input/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266067254,"owners_count":23871324,"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":[],"created_at":"2024-08-08T02:01:13.257Z","updated_at":"2025-07-20T04:30:48.787Z","avatar_url":"https://github.com/Appsilon.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"\n# weight-picker-input\n\nTo use weighted pickerInput in your application:\n\nAdd this to your `ui`:\n\n```r\nsource(\"weightedPickerInput.R\")\ncss \u003c- sass(sass_file(\"www/css/styles.scss\"))\n\nui \u003c- fluidPage(\n  theme = bs_theme(5),\n  # css + js needed for proper functionality\n  tags$head(tags$style(css)),\n  tags$head(tags$script(src = \"js/index.js\")),\n\n  weightedPickerInput(\n    \"car_options\",\n    c(\"mpg\", \"disp\", \"hp\", \"drat\", \"wt\", \"qsec\")\n  )\n)\n```\n\nThen you can access the input in `server`\n\n```r\nobserveEvent(input$`car_options-stats_weights`, {\n  state \u003c- input$`car_options-stats_weights`\n  weights \u003c- state$weights\n})\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAppsilon%2Fweighted-picker-input","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAppsilon%2Fweighted-picker-input","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAppsilon%2Fweighted-picker-input/lists"}