{"id":16499316,"url":"https://github.com/tpapp/statadtafiles.jl","last_synced_at":"2025-03-01T18:20:27.306Z","repository":{"id":55588503,"uuid":"149123864","full_name":"tpapp/StataDTAFiles.jl","owner":"tpapp","description":"read and write Stata DTA files from Julia","archived":false,"fork":false,"pushed_at":"2020-12-20T09:19:41.000Z","size":31,"stargazers_count":4,"open_issues_count":7,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-28T16:20:13.780Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Julia","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tpapp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-09-17T12:45:26.000Z","updated_at":"2022-01-23T21:49:58.000Z","dependencies_parsed_at":"2022-08-15T03:50:20.897Z","dependency_job_id":null,"html_url":"https://github.com/tpapp/StataDTAFiles.jl","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpapp%2FStataDTAFiles.jl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpapp%2FStataDTAFiles.jl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpapp%2FStataDTAFiles.jl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpapp%2FStataDTAFiles.jl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tpapp","download_url":"https://codeload.github.com/tpapp/StataDTAFiles.jl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241404935,"owners_count":19957732,"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":[],"created_at":"2024-10-11T14:52:07.082Z","updated_at":"2025-03-01T18:20:27.278Z","avatar_url":"https://github.com/tpapp.png","language":"Julia","funding_links":[],"categories":[],"sub_categories":[],"readme":"# StataDTAFiles\n\n![Lifecycle](https://img.shields.io/badge/lifecycle-experimental-orange.svg)\n[![Build Status](https://travis-ci.org/tpapp/StataDTAFiles.jl.svg?branch=master)](https://travis-ci.org/tpapp/StataDTAFiles.jl)\n[![Coverage Status](https://coveralls.io/repos/tpapp/StataDTAFiles.jl/badge.svg?branch=master\u0026service=github)](https://coveralls.io/github/tpapp/StataDTAFiles.jl?branch=master)\n[![codecov.io](http://codecov.io/github/tpapp/StataDTAFiles.jl/coverage.svg?branch=master)](http://codecov.io/github/tpapp/StataDTAFiles.jl?branch=master)\n\nRead DTA files from Stata.\n\nThis package provides low-level functions for reading (and in the future, writing) the DTA format that Stata uses for data files, written in native Julia, with no external dependencies.\n\nYou can use this package directly, or as a *basis for implementing high-level routines* that read to `DataFrame`s, etc.\n\n## Usage\n\nThe primary entry point/recommended usage is is\n\n```julia\nopen(DTAFile, ...) do dta\n    ...\nend\n```\nwhere the method for `open` would open the DTA file, read some metadata (byte order, layout, etc), and provide an iterator for the rows.\n\nDate conversion is provided by `elapsed_days`.\n\nSee the unit tests for examples.\n\n## Caveats\n\n- work in progress, API is subject to change,\n- variable-length strings (`StrL`) not yet supported,\n- currently format 118 is supported, 119 is planned,\n- test coverage is incomplete,\n- some metadata reading is WIP.\n\n## Documentation of Stata DTA format\n\n- [Stata 15 help](https://www.stata.com/help.cgi?dta)\n- [Library of Congress on *Stata Data Format (`.dta`), Version 118*](https://www.loc.gov/preservation/digital/formats/fdd/fdd000471.shtml)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftpapp%2Fstatadtafiles.jl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftpapp%2Fstatadtafiles.jl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftpapp%2Fstatadtafiles.jl/lists"}