{"id":63460,"name":"gfoRmula","description":"The gfoRmula package implements the parametric g-formula in R. The parametric g-formula (Robins, 1986) uses longitudinal data with time-varying treatments and confounders to estimate the risk or mean of an outcome under hypothetical treatment strategies specified by the user.","url":"https://github.com/causalinference/gformula","last_synced_at":"2025-09-08T12:57:48.768Z","repository":{"id":46733993,"uuid":"202913164","full_name":"CausalInference/gfoRmula","owner":"CausalInference","description":"The gfoRmula package implements the parametric g-formula in R. The parametric g-formula (Robins, 1986) uses longitudinal data with time-varying treatments and confounders to estimate the risk or mean of an outcome under hypothetical treatment strategies specified by the user.","archived":false,"fork":false,"pushed_at":"2025-05-30T04:33:57.000Z","size":2171,"stargazers_count":174,"open_issues_count":5,"forks_count":69,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-05-30T05:47:26.777Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"R","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/CausalInference.png","metadata":{"files":{"readme":"README.Rmd","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,"roadmap":null,"authors":null,"dei":null}},"created_at":"2019-08-17T17:36:17.000Z","updated_at":"2025-05-30T04:34:01.000Z","dependencies_parsed_at":"2023-12-20T21:29:50.713Z","dependency_job_id":"69d13155-1de5-445c-97c8-7a8b4df29dcd","html_url":"https://github.com/CausalInference/gfoRmula","commit_stats":{"total_commits":62,"total_committers":3,"mean_commits":"20.666666666666668","dds":0.06451612903225812,"last_synced_commit":"b7d13bfde258208014c4a3468d6230dd0d80265d"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CausalInference/gfoRmula","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CausalInference%2FgfoRmula","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CausalInference%2FgfoRmula/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CausalInference%2FgfoRmula/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CausalInference%2FgfoRmula/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CausalInference","download_url":"https://codeload.github.com/CausalInference/gfoRmula/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CausalInference%2FgfoRmula/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274188916,"owners_count":25237853,"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-09-08T02:00:09.813Z","response_time":121,"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"}},"owner":{"login":"CausalInference","name":"CAUSALab","uuid":"30737857","kind":"organization","description":"A Center to Learn What Works","email":"CAUSALab@hsph.harvard.edu","website":null,"location":null,"twitter":"CAUSALab","company":null,"icon_url":"https://avatars.githubusercontent.com/u/30737857?v=4","repositories_count":2,"last_synced_at":"2023-02-27T04:50:30.347Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/CausalInference","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-10T14:30:51.360Z","updated_at":"2023-02-27T04:50:30.382Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CausalInference","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CausalInference/repositories"},"packages":[{"id":430763,"name":"gfoRmula","ecosystem":"cran","description":"Parametric G-Formula","homepage":"https://github.com/CausalInference/gfoRmula","licenses":"GPL-3","normalized_licenses":["GPL-3.0"],"repository_url":"https://github.com/CausalInference/gfoRmula","keywords_array":[],"namespace":null,"versions_count":11,"first_release_published_at":"2019-08-25T09:30:00.000Z","latest_release_published_at":"2025-03-24T00:00:00.000Z","latest_release_number":"1.1.1","last_synced_at":"2025-08-12T03:53:53.558Z","created_at":"2022-04-06T21:17:29.715Z","updated_at":"2025-08-12T03:53:53.558Z","registry_url":"https://cran.r-project.org/package=gfoRmula","install_command":null,"documentation_url":"http://cran.r-project.org/web/packages/gfoRmula/gfoRmula.pdf","metadata":{},"repo_metadata":{"id":46733993,"uuid":"202913164","full_name":"CausalInference/gfoRmula","owner":"CausalInference","description":"The gfoRmula package implements the parametric g-formula in R. The parametric g-formula (Robins, 1986) uses longitudinal data with time-varying treatments and confounders to estimate the risk or mean of an outcome under hypothetical treatment strategies specified by the user.","archived":false,"fork":false,"pushed_at":"2024-04-07T17:33:59.000Z","size":2035,"stargazers_count":136,"open_issues_count":5,"forks_count":56,"subscribers_count":16,"default_branch":"master","last_synced_at":"2024-04-07T18:35:26.383Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"R","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/CausalInference.png","metadata":{"files":{"readme":"README.Rmd","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,"roadmap":null,"authors":null,"dei":null}},"created_at":"2019-08-17T17:36:17.000Z","updated_at":"2024-04-14T19:39:50.404Z","dependencies_parsed_at":"2023-12-20T21:29:50.713Z","dependency_job_id":"69d13155-1de5-445c-97c8-7a8b4df29dcd","html_url":"https://github.com/CausalInference/gfoRmula","commit_stats":{"total_commits":62,"total_committers":3,"mean_commits":"20.666666666666668","dds":0.06451612903225812,"last_synced_commit":"b7d13bfde258208014c4a3468d6230dd0d80265d"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CausalInference%2FgfoRmula","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CausalInference%2FgfoRmula/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CausalInference%2FgfoRmula/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CausalInference%2FgfoRmula/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CausalInference","download_url":"https://codeload.github.com/CausalInference/gfoRmula/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219110408,"owners_count":16439465,"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"},"owner_record":{"login":"CausalInference","name":"CAUSALab","uuid":"30737857","kind":"organization","description":"A Center to Learn What Works","email":"CAUSALab@hsph.harvard.edu","website":null,"location":null,"twitter":"CAUSALab","company":null,"icon_url":"https://avatars.githubusercontent.com/u/30737857?v=4","repositories_count":2,"last_synced_at":"2023-02-27T04:50:30.347Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/CausalInference","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-10T14:30:51.360Z","updated_at":"2023-02-27T04:50:30.382Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CausalInference","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CausalInference/repositories"},"tags":[]},"repo_metadata_updated_at":"2024-09-14T09:22:40.021Z","dependent_packages_count":0,"downloads":507,"downloads_period":"last-month","dependent_repos_count":1,"rankings":{"downloads":22.676431424766978,"dependent_repos_count":23.826009764758098,"dependent_packages_count":28.646249445184196,"stargazers_count":3.187286367470147,"forks_count":1.3935735842357535,"docker_downloads_count":0.5815243929506814,"average":13.385179163227642},"purl":"pkg:cran/gfoRmula","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/cran/gfoRmula","docker_dependents_count":1,"docker_downloads_count":21613,"usage_url":"https://repos.ecosyste.ms/usage/cran/gfoRmula","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/cran/gfoRmula/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2024-08-13T21:04:16.959Z","issues_count":30,"pull_requests_count":5,"avg_time_to_close_issue":7308140.740740741,"avg_time_to_close_pull_request":49.666666666666664,"issues_closed_count":27,"pull_requests_closed_count":3,"pull_request_authors_count":4,"issue_authors_count":22,"avg_comments_per_issue":3.1,"avg_comments_per_pull_request":0.8,"merged_pull_requests_count":3,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":14,"past_year_pull_requests_count":2,"past_year_avg_time_to_close_issue":1115558.25,"past_year_avg_time_to_close_pull_request":14.0,"past_year_issues_closed_count":12,"past_year_pull_requests_closed_count":1,"past_year_pull_request_authors_count":2,"past_year_issue_authors_count":8,"past_year_avg_comments_per_issue":3.7857142857142856,"past_year_avg_comments_per_pull_request":2.0,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":1,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/CausalInference%2FgfoRmula/issues","maintainers":[{"login":"stmcg","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/stmcg"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/cran.r-project.org/packages/gfoRmula/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/cran.r-project.org/packages/gfoRmula/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/cran.r-project.org/packages/gfoRmula/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/cran.r-project.org/packages/gfoRmula/related_packages","maintainers":[{"uuid":"sean_mcgrath@g.harvard.edu","login":null,"name":"Sean McGrath","email":"sean_mcgrath@g.harvard.edu","url":null,"packages_count":1,"html_url":null,"role":null,"created_at":"2022-11-14T17:18:34.400Z","updated_at":"2022-11-14T17:18:34.400Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/cran.r-project.org/maintainers/sean_mcgrath@g.harvard.edu/packages"}],"registry":{"name":"cran.r-project.org","url":"https://cran.r-project.org","ecosystem":"cran","default":true,"packages_count":26181,"maintainers_count":14299,"namespaces_count":0,"keywords_count":8326,"github":"r-project-org","metadata":{"funded_packages_count":539},"icon_url":"https://github.com/r-project-org.png","created_at":"2022-04-06T16:32:25.637Z","updated_at":"2025-09-08T06:54:01.855Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/cran.r-project.org/packages","maintainers_url":"https://packages.ecosyste.ms/api/v1/registries/cran.r-project.org/maintainers","namespaces_url":"https://packages.ecosyste.ms/api/v1/registries/cran.r-project.org/namespaces"}}],"commits":{"id":722359,"full_name":"CausalInference/gfoRmula","default_branch":"master","committers":[{"name":"Sean McGrath","email":"smcgrath@hsph.harvard.edu","login":null,"count":58},{"name":"Louisa Smith","email":"louisahsmith","login":"louisahsmith","count":3},{"name":"Louisa Smith","email":"lsmith@don.sph.harvard.edu","login":null,"count":1}],"total_commits":62,"total_committers":3,"total_bot_commits":0,"total_bot_committers":0,"mean_commits":20.666666666666668,"dds":0.06451612903225812,"past_year_committers":[{"name":"Sean McGrath","email":"smcgrath@hsph.harvard.edu","login":null,"count":18}],"past_year_total_commits":18,"past_year_total_committers":1,"past_year_total_bot_commits":0,"past_year_total_bot_committers":0,"past_year_mean_commits":18.0,"past_year_dds":0.0,"last_synced_at":"2023-10-25T13:44:36.579Z","last_synced_commit":"b7d13bfde258208014c4a3468d6230dd0d80265d","created_at":"2023-03-09T13:06:27.784Z","updated_at":"2023-10-25T13:44:36.580Z","commits_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories/CausalInference%2FgfoRmula/commits","host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2025-08-24T00:00:06.660Z","repositories_count":5479765,"commits_count":853308191,"contributors_count":31095157,"owners_count":906558,"icon_url":"https://github.com/github.png","host_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories"}},"issues_stats":{"full_name":"CausalInference/gfoRmula","html_url":"https://github.com/CausalInference/gfoRmula","last_synced_at":"2025-08-31T17:49:44.738Z","status":null,"issues_count":37,"pull_requests_count":5,"avg_time_to_close_issue":8998498.28125,"avg_time_to_close_pull_request":49.666666666666664,"issues_closed_count":32,"pull_requests_closed_count":3,"pull_request_authors_count":4,"issue_authors_count":28,"avg_comments_per_issue":2.8378378378378377,"avg_comments_per_pull_request":0.8,"merged_pull_requests_count":3,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":6,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":681314.5,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":2,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":6,"past_year_avg_comments_per_issue":1.0,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"created_at":"2023-05-10T22:35:01.077Z","updated_at":"2025-09-02T21:32:20.300Z","repository_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/CausalInference%2FgfoRmula","issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/CausalInference%2FgfoRmula/issues","issue_labels_count":{},"pull_request_labels_count":{},"issue_author_associations_count":{"NONE":42},"pull_request_author_associations_count":{"NONE":4,"COLLABORATOR":1},"issue_authors":{"sally741":4,"njawadekar":4,"JerzyEG":2,"chenlan26":2,"ChristelSwift":2,"boyercb":2,"joannadiong":2,"dzugna":1,"sebastiaan-blank":1,"rbarnardmayers":1,"lijiaqi-github":1,"mskypala":1,"pychan-polly":1,"suthlam":1,"guanchengcheng":1,"glemmon":1,"Keling-Wang":1,"yohei-h":1,"flxflks":1,"Lachlan-Cribb":1,"tanyatoluay":1,"jerbear1992":1,"ghost":1,"BLMoran":1,"demetriomagatti":1,"huichen99":1,"MarieBu88":1,"sagarsimha":1,"calebasaraba":1,"lindsayad":1,"jerzEG":1},"pull_request_authors":{"rwlogan":2,"stmcg":1,"resace3":1,"andrewbaxter439":1},"host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2025-09-08T00:00:17.013Z","repositories_count":10165784,"issues_count":31999265,"pull_requests_count":100269215,"authors_count":10729006,"icon_url":"https://github.com/github.png","host_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories","owners_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/owners","authors_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors"},"past_year_issue_labels_count":{},"past_year_pull_request_labels_count":{},"past_year_issue_author_associations_count":{"NONE":12},"past_year_pull_request_author_associations_count":{},"past_year_issue_authors":{"njawadekar":4,"demetriomagatti":1,"huichen99":1,"JerzyEG":1,"Keling-Wang":1,"Lachlan-Cribb":1,"sagarsimha":1,"sebastiaan-blank":1,"tanyatoluay":1},"past_year_pull_request_authors":{},"maintainers":[{"login":"stmcg","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/stmcg"}],"active_maintainers":[]},"events":{"total":{"IssuesEvent":17,"WatchEvent":26,"IssueCommentEvent":29,"PushEvent":3,"ForkEvent":6},"last_year":{"IssuesEvent":17,"WatchEvent":26,"IssueCommentEvent":29,"PushEvent":3,"ForkEvent":6}},"keywords":[],"dependencies":[{"ecosystem":"cran","filepath":"DESCRIPTION","sha":null,"kind":"manifest","created_at":"2022-07-19T22:17:50.965Z","updated_at":"2022-07-19T22:17:50.965Z","repository_link":"https://github.com/CausalInference/gfoRmula/blob/master/DESCRIPTION","dependencies":[{"id":263530946,"package_name":"R","ecosystem":"cran","requirements":"\u003e= 3.5.0","direct":true,"kind":"depends","optional":false},{"id":263530947,"package_name":"data.table","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":263530948,"package_name":"ggplot2","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":263530949,"package_name":"ggpubr","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":263530950,"package_name":"grDevices","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":263530951,"package_name":"nnet","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":263530952,"package_name":"parallel","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":263530953,"package_name":"progress","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":263530954,"package_name":"stats","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":263530955,"package_name":"stringr","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":263530956,"package_name":"survival","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":263530957,"package_name":"truncnorm","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":263530958,"package_name":"truncreg","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":263530959,"package_name":"utils","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":263530960,"package_name":"Hmisc","ecosystem":"cran","requirements":"*","direct":true,"kind":"suggests","optional":false}]}],"score":16.29037116481885,"created_at":"2025-09-08T11:18:29.916Z","updated_at":"2025-10-07T08:24:34.158Z","avatar_url":"https://github.com/CausalInference.png","language":"R","category":null,"sub_category":null,"monthly_downloads":507,"funding_links":[],"readme_doi_urls":["https://doi.org/10.1016/j.patter.2020.100008"],"works":{},"citation_counts":{},"total_citations":0,"keywords_from_contributors":[],"project_url":"https://science.ecosyste.ms/api/v1/projects/63460","html_url":"https://science.ecosyste.ms/projects/63460"}