{"id":23442350,"url":"https://github.com/repronim/reproschema-builder","last_synced_at":"2025-10-14T22:37:29.033Z","repository":{"id":43951023,"uuid":"202426538","full_name":"ReproNim/reproschema-builder","owner":"ReproNim","description":"a javascript library to build reproschema activity-set and corresponding activities","archived":false,"fork":false,"pushed_at":"2022-12-11T03:54:35.000Z","size":7834,"stargazers_count":0,"open_issues_count":8,"forks_count":5,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-13T11:11:39.423Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/ReproNim.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}},"created_at":"2019-08-14T21:10:22.000Z","updated_at":"2021-10-14T15:37:37.000Z","dependencies_parsed_at":"2023-01-26T15:31:48.524Z","dependency_job_id":null,"html_url":"https://github.com/ReproNim/reproschema-builder","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ReproNim/reproschema-builder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReproNim%2Freproschema-builder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReproNim%2Freproschema-builder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReproNim%2Freproschema-builder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReproNim%2Freproschema-builder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ReproNim","download_url":"https://codeload.github.com/ReproNim/reproschema-builder/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReproNim%2Freproschema-builder/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279021780,"owners_count":26087056,"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-10-14T02:00:06.444Z","response_time":60,"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-12-23T17:29:30.764Z","updated_at":"2025-10-14T22:37:29.003Z","avatar_url":"https://github.com/ReproNim.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# reproschema-builder\n\nCreate protocol from a CSV table:\n\n1. Convert any survey into the format of the data dictionary template below:\n\n\n### template for CSV \n\nVariable / Field Name |\tSection Header | Form Name  |\tField Type  |\tmultipleChoice\t| Field Label |\tChoices, Calculations, OR Slider Labels | minVal |  maxVal |\tBranching Logic (Show field only if...) |\n|------------| ------------| ------------| ------------| ------------| ------------| ------------| ------------| ------------| ------------| \n|          |            |        |            |               |              |              |          |           |        |     \n\n+ **Variable / Field Name:** The id for the survey item (required). \u003cbr/\u003e\n+ **Section Header:** Preamble for the survey item (leave blank if you don't want a preamble). \u003cbr/\u003e\n+ **Form Name:** Name of the activity the survey item is a part of (required). \u003cbr/\u003e\n+ **Field Type:** Type of reponse for survey item, currently supports: \n  + `radio`\n  + `select`\n  + `slider`\n  + `text`\n  + `static`\n  + `timeRange`\n  \u003cbr/\u003e\n+ **multipleChoice:** Used for `radio` items. Set value=1 if the item is a multi-choice checklist, leave blank if single choice. \u003cbr/\u003e\n+ **Field Label:** Question/text for survey item. \u003cbr/\u003e\n+ **Choices, Calculations, OR Slider Labels:** Reponse list for survey item, in the form of `value1, choice1 | value2, choice2 | value 3, choice3` etc. Leave blank for `text`, `static`, and `timeRange` items. \u003cbr/\u003e\n+ **maxVal** Used for slider items, the text to display for max value of slider bar. Leave blank for other items types. \u003cbr/\u003e\n+ **minVal** Used for slider items, the text to display for min value of slider bar. Leave blank for other items types.  \u003cbr/\u003e\n+ **Branching Logic (Show field only if...):** For conditional logic. For example, if `question2` only shows when `question1` has value 1, fill this column with `[question1]=1` for the row of `question2`. If the question has no conditional logic, leave this column blank. \u003cbr/\u003e\n\n\n### Usage: \n`node tools/RedCap2ReproSchema.js path_to_your_csv_file`\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frepronim%2Freproschema-builder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frepronim%2Freproschema-builder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frepronim%2Freproschema-builder/lists"}