@@ -12,19 +12,19 @@ pip install reproschema
1212
1313### Developer installation
1414
15- After you create a fork, you can clone and install repo in developer mode:
15+ Fork this repo to your own GitHub account, then clone and install your forked repo in the developer mode:
1616
1717```
1818git clone https://github.com/<your github>/reproschema-py.git
1919cd reproschema-py
20- pip install -e .[dev]
20+ pip install -e .
2121```
2222#### Style
2323This repo uses pre-commit to check styling.
2424- Install pre-commit with pip: ` pip install pre-commit `
2525- In order to use it with the repository, you have to run ` run pre-commit install ` in the root directory the first time you use it.
2626
27- When pre-commit is used you may have to run git commit twice,
27+ When pre-commit is used, you may have to run git commit twice,
2828since pre-commit may make additional changes to your code for styling and will
2929not commit these changes by default.
3030
@@ -102,15 +102,17 @@ Before the conversion, ensure you have the following:
102102### YAML File Configuration
103103In the ` templates/redcap2rs.yaml ` file, provide the following information:
104104
105- - ** protocol_name** : This is a unique identifier for your protocol. Use underscores for spaces and avoid special characters.
106- - ** protocol_display_name** : The name that will appear in the application.
105+ - ** protocol_name** : A unique identifier for your protocol. Use underscores for spaces and avoid special characters.
106+ - ** protocol_display_name** : Name that will appear in the application.
107107- ** protocol_description** : A brief description of your protocol.
108+ - ** redcap_version** : Version of your redcap file (you can customize it).
108109
109110Example:
110111``` yaml
111112protocol_name : " My_Protocol"
112113protocol_display_name : " Assessment Protocol"
113114protocol_description : " This protocol is for assessing cognitive skills."
115+ redcap_version : " X.XX.X"
114116` ` `
115117### CLI Usage
116118
@@ -119,7 +121,7 @@ The `redcap2reproschema`` function has been integrated into a CLI tool, use the
119121reproschema redcap2reproschema path/to/your_redcap_data_dic.csv path/to/your_redcap2rs.yaml
120122` ` `
121123
122- Optionally you can provide a path to the output directory (defaults is the current directory) by adding option : ` --output-path PATH`
124+ Optionally you can provide a path to the output directory (default is the current directory) by adding the option : ` --output-path PATH`
123125# ## Python Function Usage
124126
125127You can also use the `redcap2reproschema` function from the `reproschema-py` package in your Python code.
@@ -131,7 +133,7 @@ csv_path = "path-to/your_redcap_data_dic.csv"
131133yaml_path = "path-to/your_redcap2rs.yaml"
132134output_path = "path-to/directory_you_want_to_save_output"
133135
134- reproschema2redcap (csv_file, yaml_file, output_path)
136+ redcap2reproschema (csv_file, yaml_file, output_path)
135137` ` `
136138
137139# ## Notes
0 commit comments