{"id":15805293,"url":"https://github.com/lsys/stata-utils","last_synced_at":"2026-01-08T20:36:39.035Z","repository":{"id":37367481,"uuid":"352290612","full_name":"LSYS/stata-utils","owner":"LSYS","description":"Miscellaneous Stata ado utility programs for data analysis work.","archived":false,"fork":false,"pushed_at":"2024-07-06T04:03:39.000Z","size":51,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-06T02:07:44.189Z","etag":null,"topics":["stata"],"latest_commit_sha":null,"homepage":"","language":"Stata","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LSYS.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"publiccode":null,"codemeta":null}},"created_at":"2021-03-28T09:40:22.000Z","updated_at":"2024-07-06T04:03:43.000Z","dependencies_parsed_at":"2023-01-19T11:03:22.671Z","dependency_job_id":"aa9d9ae7-ce9f-4f0f-84e7-c9de55f6dd48","html_url":"https://github.com/LSYS/stata-utils","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LSYS%2Fstata-utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LSYS%2Fstata-utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LSYS%2Fstata-utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LSYS%2Fstata-utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LSYS","download_url":"https://codeload.github.com/LSYS/stata-utils/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246547370,"owners_count":20794970,"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":["stata"],"created_at":"2024-10-05T02:07:57.527Z","updated_at":"2026-01-08T20:36:39.014Z","avatar_url":"https://github.com/LSYS.png","language":"Stata","readme":"## Stata utilities\n\nMy Stata miscellaneous `.ado` programs I use.\n\nPull into my local project directory:\n```Bash\ncd \u003cproject_path\u003e\n\ngit clone https://github.com/LSYS/stata-utils.git\n```\n\nThen in the relevant/master `do` file, add:\n```Stata\nadopath ++ ./stata-utils\n```\nor \n```Stata\nadopath ++ \u003cproject_path\u003e/stata-utils\n```\n\n## Programs\n\n* `setup.ado` sets up multiple required packages. \n\n    Simple example:\n    ```Stata\n    local req reghdfe coefplot addplot\n    setup \"`req'\"\n    ```\n    \n    \u003cdetails\u003e\n    \u003csummary\u003eExample with a \u003cem\u003estata-requirements.txt\u003c/em\u003e.\u003c/summary\u003e\n\n    \u003ci\u003estata-requirements.txt\u003c/i\u003e as an example plain text file:\n    ```text\n    reghdfe \n    coefplot\n    addplot\n    ```    \n    \n    Read `stata-requirements.txt` into local macro\n    ```Stata\n    txt2macro stata-requirements.txt\n    local req `r(mymacro)'\n    ```    \n    \n    and install packages listed in `stata-requirements.txt`\n    ```Stata\n    setup \"`req'\"\n    ```\n    \u003c/details\u003e\n    \n    (Works like `pip install -r requirements.txt`)\n\n\n**Source:** https://github.com/LSYS/stata-utils\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flsys%2Fstata-utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flsys%2Fstata-utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flsys%2Fstata-utils/lists"}