├── .github └── PULL_REQUEST_TEMPLATE.md ├── .gitignore ├── CONTRIBUTING.md ├── LICENSE.txt ├── README.md ├── dataset-snippets ├── README.md ├── add_age_to_demographics.R ├── add_age_to_demographics.py ├── join_dataframes.R ├── join_dataframes.py ├── measurement_by_age_and_sex_at_birth.ggplot ├── measurement_by_age_and_sex_at_birth.plotnine ├── measurement_by_sex_at_birth.ggplot ├── measurement_by_sex_at_birth.plotnine ├── snippets_setup.R ├── snippets_setup.py ├── summarize_a_dataframe.R ├── summarize_a_dataframe.py ├── summarize_a_survey_by_question_concept_id.R ├── summarize_a_survey_by_question_concept_id.py ├── summarize_a_survey_module.R └── summarize_a_survey_module.py ├── py ├── README.md ├── py_cromwell_setup.py ├── requirements.txt ├── setup.py └── terra_widgets │ ├── __init__.py │ ├── html_snapshots.py │ ├── tests │ ├── __init__.py │ └── test_workspace_paths.py │ ├── workspace_metadata.py │ └── workspace_paths.py ├── r └── r_cromwell_setup.R ├── sql-snippets ├── README.md ├── measurement_of_interest.sql ├── measurement_of_interest_by_age_and_sex_at_birth.ggplot ├── measurement_of_interest_by_age_and_sex_at_birth.plotnine ├── measurement_of_interest_by_sex_at_birth.ggplot ├── measurement_of_interest_by_sex_at_birth.plotnine ├── measurement_of_interest_by_site.ggplot ├── measurement_of_interest_by_site.plotnine ├── measurement_of_interest_test.py ├── measurements_of_interest_summary.sql ├── measurements_of_interest_summary_test.py ├── most_recent_measurement_of_interest.sql ├── most_recent_measurement_of_interest_by_age_and_sex_at_birth.ggplot ├── most_recent_measurement_of_interest_by_age_and_sex_at_birth.plotnine ├── most_recent_measurement_of_interest_by_sex_at_birth.ggplot ├── most_recent_measurement_of_interest_by_sex_at_birth.plotnine ├── most_recent_measurement_of_interest_by_site.ggplot ├── most_recent_measurement_of_interest_by_site.plotnine ├── most_recent_measurement_of_interest_test.py ├── number_of_participants_with_measurements.sql ├── number_of_participants_with_med_conditions.sql ├── snippets_setup.R ├── snippets_setup.py └── total_number_of_participants.sql └── storage-snippets ├── README.md ├── copy_data_to_workspace_bucket.R ├── copy_data_to_workspace_bucket.py ├── copy_file_from_workspace_bucket.R ├── copy_file_from_workspace_bucket.py ├── interact_with_html_snapshots.py ├── list_objects_in_bucket.R ├── list_objects_in_bucket.py ├── snippets_setup.R └── snippets_setup.py /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-of-us/workbench-snippets/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-of-us/workbench-snippets/HEAD/.gitignore -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-of-us/workbench-snippets/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-of-us/workbench-snippets/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-of-us/workbench-snippets/HEAD/README.md -------------------------------------------------------------------------------- /dataset-snippets/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-of-us/workbench-snippets/HEAD/dataset-snippets/README.md -------------------------------------------------------------------------------- /dataset-snippets/add_age_to_demographics.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-of-us/workbench-snippets/HEAD/dataset-snippets/add_age_to_demographics.R -------------------------------------------------------------------------------- /dataset-snippets/add_age_to_demographics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-of-us/workbench-snippets/HEAD/dataset-snippets/add_age_to_demographics.py -------------------------------------------------------------------------------- /dataset-snippets/join_dataframes.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-of-us/workbench-snippets/HEAD/dataset-snippets/join_dataframes.R -------------------------------------------------------------------------------- /dataset-snippets/join_dataframes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-of-us/workbench-snippets/HEAD/dataset-snippets/join_dataframes.py -------------------------------------------------------------------------------- /dataset-snippets/measurement_by_age_and_sex_at_birth.ggplot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-of-us/workbench-snippets/HEAD/dataset-snippets/measurement_by_age_and_sex_at_birth.ggplot -------------------------------------------------------------------------------- /dataset-snippets/measurement_by_age_and_sex_at_birth.plotnine: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-of-us/workbench-snippets/HEAD/dataset-snippets/measurement_by_age_and_sex_at_birth.plotnine -------------------------------------------------------------------------------- /dataset-snippets/measurement_by_sex_at_birth.ggplot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-of-us/workbench-snippets/HEAD/dataset-snippets/measurement_by_sex_at_birth.ggplot -------------------------------------------------------------------------------- /dataset-snippets/measurement_by_sex_at_birth.plotnine: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-of-us/workbench-snippets/HEAD/dataset-snippets/measurement_by_sex_at_birth.plotnine -------------------------------------------------------------------------------- /dataset-snippets/snippets_setup.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-of-us/workbench-snippets/HEAD/dataset-snippets/snippets_setup.R -------------------------------------------------------------------------------- /dataset-snippets/snippets_setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-of-us/workbench-snippets/HEAD/dataset-snippets/snippets_setup.py -------------------------------------------------------------------------------- /dataset-snippets/summarize_a_dataframe.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-of-us/workbench-snippets/HEAD/dataset-snippets/summarize_a_dataframe.R -------------------------------------------------------------------------------- /dataset-snippets/summarize_a_dataframe.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-of-us/workbench-snippets/HEAD/dataset-snippets/summarize_a_dataframe.py -------------------------------------------------------------------------------- /dataset-snippets/summarize_a_survey_by_question_concept_id.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-of-us/workbench-snippets/HEAD/dataset-snippets/summarize_a_survey_by_question_concept_id.R -------------------------------------------------------------------------------- /dataset-snippets/summarize_a_survey_by_question_concept_id.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-of-us/workbench-snippets/HEAD/dataset-snippets/summarize_a_survey_by_question_concept_id.py -------------------------------------------------------------------------------- /dataset-snippets/summarize_a_survey_module.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-of-us/workbench-snippets/HEAD/dataset-snippets/summarize_a_survey_module.R -------------------------------------------------------------------------------- /dataset-snippets/summarize_a_survey_module.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-of-us/workbench-snippets/HEAD/dataset-snippets/summarize_a_survey_module.py -------------------------------------------------------------------------------- /py/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-of-us/workbench-snippets/HEAD/py/README.md -------------------------------------------------------------------------------- /py/py_cromwell_setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-of-us/workbench-snippets/HEAD/py/py_cromwell_setup.py -------------------------------------------------------------------------------- /py/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-of-us/workbench-snippets/HEAD/py/requirements.txt -------------------------------------------------------------------------------- /py/setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-of-us/workbench-snippets/HEAD/py/setup.py -------------------------------------------------------------------------------- /py/terra_widgets/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /py/terra_widgets/html_snapshots.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-of-us/workbench-snippets/HEAD/py/terra_widgets/html_snapshots.py -------------------------------------------------------------------------------- /py/terra_widgets/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /py/terra_widgets/tests/test_workspace_paths.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-of-us/workbench-snippets/HEAD/py/terra_widgets/tests/test_workspace_paths.py -------------------------------------------------------------------------------- /py/terra_widgets/workspace_metadata.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-of-us/workbench-snippets/HEAD/py/terra_widgets/workspace_metadata.py -------------------------------------------------------------------------------- /py/terra_widgets/workspace_paths.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-of-us/workbench-snippets/HEAD/py/terra_widgets/workspace_paths.py -------------------------------------------------------------------------------- /r/r_cromwell_setup.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-of-us/workbench-snippets/HEAD/r/r_cromwell_setup.R -------------------------------------------------------------------------------- /sql-snippets/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-of-us/workbench-snippets/HEAD/sql-snippets/README.md -------------------------------------------------------------------------------- /sql-snippets/measurement_of_interest.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-of-us/workbench-snippets/HEAD/sql-snippets/measurement_of_interest.sql -------------------------------------------------------------------------------- /sql-snippets/measurement_of_interest_by_age_and_sex_at_birth.ggplot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-of-us/workbench-snippets/HEAD/sql-snippets/measurement_of_interest_by_age_and_sex_at_birth.ggplot -------------------------------------------------------------------------------- /sql-snippets/measurement_of_interest_by_age_and_sex_at_birth.plotnine: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-of-us/workbench-snippets/HEAD/sql-snippets/measurement_of_interest_by_age_and_sex_at_birth.plotnine -------------------------------------------------------------------------------- /sql-snippets/measurement_of_interest_by_sex_at_birth.ggplot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-of-us/workbench-snippets/HEAD/sql-snippets/measurement_of_interest_by_sex_at_birth.ggplot -------------------------------------------------------------------------------- /sql-snippets/measurement_of_interest_by_sex_at_birth.plotnine: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-of-us/workbench-snippets/HEAD/sql-snippets/measurement_of_interest_by_sex_at_birth.plotnine -------------------------------------------------------------------------------- /sql-snippets/measurement_of_interest_by_site.ggplot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-of-us/workbench-snippets/HEAD/sql-snippets/measurement_of_interest_by_site.ggplot -------------------------------------------------------------------------------- /sql-snippets/measurement_of_interest_by_site.plotnine: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-of-us/workbench-snippets/HEAD/sql-snippets/measurement_of_interest_by_site.plotnine -------------------------------------------------------------------------------- /sql-snippets/measurement_of_interest_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-of-us/workbench-snippets/HEAD/sql-snippets/measurement_of_interest_test.py -------------------------------------------------------------------------------- /sql-snippets/measurements_of_interest_summary.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-of-us/workbench-snippets/HEAD/sql-snippets/measurements_of_interest_summary.sql -------------------------------------------------------------------------------- /sql-snippets/measurements_of_interest_summary_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-of-us/workbench-snippets/HEAD/sql-snippets/measurements_of_interest_summary_test.py -------------------------------------------------------------------------------- /sql-snippets/most_recent_measurement_of_interest.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-of-us/workbench-snippets/HEAD/sql-snippets/most_recent_measurement_of_interest.sql -------------------------------------------------------------------------------- /sql-snippets/most_recent_measurement_of_interest_by_age_and_sex_at_birth.ggplot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-of-us/workbench-snippets/HEAD/sql-snippets/most_recent_measurement_of_interest_by_age_and_sex_at_birth.ggplot -------------------------------------------------------------------------------- /sql-snippets/most_recent_measurement_of_interest_by_age_and_sex_at_birth.plotnine: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-of-us/workbench-snippets/HEAD/sql-snippets/most_recent_measurement_of_interest_by_age_and_sex_at_birth.plotnine -------------------------------------------------------------------------------- /sql-snippets/most_recent_measurement_of_interest_by_sex_at_birth.ggplot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-of-us/workbench-snippets/HEAD/sql-snippets/most_recent_measurement_of_interest_by_sex_at_birth.ggplot -------------------------------------------------------------------------------- /sql-snippets/most_recent_measurement_of_interest_by_sex_at_birth.plotnine: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-of-us/workbench-snippets/HEAD/sql-snippets/most_recent_measurement_of_interest_by_sex_at_birth.plotnine -------------------------------------------------------------------------------- /sql-snippets/most_recent_measurement_of_interest_by_site.ggplot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-of-us/workbench-snippets/HEAD/sql-snippets/most_recent_measurement_of_interest_by_site.ggplot -------------------------------------------------------------------------------- /sql-snippets/most_recent_measurement_of_interest_by_site.plotnine: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-of-us/workbench-snippets/HEAD/sql-snippets/most_recent_measurement_of_interest_by_site.plotnine -------------------------------------------------------------------------------- /sql-snippets/most_recent_measurement_of_interest_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-of-us/workbench-snippets/HEAD/sql-snippets/most_recent_measurement_of_interest_test.py -------------------------------------------------------------------------------- /sql-snippets/number_of_participants_with_measurements.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-of-us/workbench-snippets/HEAD/sql-snippets/number_of_participants_with_measurements.sql -------------------------------------------------------------------------------- /sql-snippets/number_of_participants_with_med_conditions.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-of-us/workbench-snippets/HEAD/sql-snippets/number_of_participants_with_med_conditions.sql -------------------------------------------------------------------------------- /sql-snippets/snippets_setup.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-of-us/workbench-snippets/HEAD/sql-snippets/snippets_setup.R -------------------------------------------------------------------------------- /sql-snippets/snippets_setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-of-us/workbench-snippets/HEAD/sql-snippets/snippets_setup.py -------------------------------------------------------------------------------- /sql-snippets/total_number_of_participants.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-of-us/workbench-snippets/HEAD/sql-snippets/total_number_of_participants.sql -------------------------------------------------------------------------------- /storage-snippets/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-of-us/workbench-snippets/HEAD/storage-snippets/README.md -------------------------------------------------------------------------------- /storage-snippets/copy_data_to_workspace_bucket.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-of-us/workbench-snippets/HEAD/storage-snippets/copy_data_to_workspace_bucket.R -------------------------------------------------------------------------------- /storage-snippets/copy_data_to_workspace_bucket.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-of-us/workbench-snippets/HEAD/storage-snippets/copy_data_to_workspace_bucket.py -------------------------------------------------------------------------------- /storage-snippets/copy_file_from_workspace_bucket.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-of-us/workbench-snippets/HEAD/storage-snippets/copy_file_from_workspace_bucket.R -------------------------------------------------------------------------------- /storage-snippets/copy_file_from_workspace_bucket.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-of-us/workbench-snippets/HEAD/storage-snippets/copy_file_from_workspace_bucket.py -------------------------------------------------------------------------------- /storage-snippets/interact_with_html_snapshots.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-of-us/workbench-snippets/HEAD/storage-snippets/interact_with_html_snapshots.py -------------------------------------------------------------------------------- /storage-snippets/list_objects_in_bucket.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-of-us/workbench-snippets/HEAD/storage-snippets/list_objects_in_bucket.R -------------------------------------------------------------------------------- /storage-snippets/list_objects_in_bucket.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-of-us/workbench-snippets/HEAD/storage-snippets/list_objects_in_bucket.py -------------------------------------------------------------------------------- /storage-snippets/snippets_setup.R: -------------------------------------------------------------------------------- 1 | library(tidyverse) # Data wrangling packages. 2 | 3 | -------------------------------------------------------------------------------- /storage-snippets/snippets_setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-of-us/workbench-snippets/HEAD/storage-snippets/snippets_setup.py --------------------------------------------------------------------------------