Import 'Stata' Data Files
Overview
Function to read and write the 'Stata' file format.
- Initial support for Stata 18. Import .dtas files (Stata framesets) via
read.dtas(). Alias variables are currently ignored with a warning. - The
select.colsargument accepts either variable names or column indices. - Fix compilation on musl and other non-glibc based systems.
- Add package alias to readstata13.Rd
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- WARNING12 OK, 1 WARNING2026-06-08
- OK14 OK2026-04-22
Show 2 earlier changesHide 2 earlier changes
- ERROR13 OK, 1 ERROR2026-04-18
- OK14 OK2026-03-10
Documentation
- Help pages
- 17includes a package overview page
- Examples that run
- 83%10 run in a plain check · 2 never run
- Exported functions with examples
- 86%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 12%
Downloads
Repository
- PRs merged (all time)
- 87%
- Median days to close, 50 most recently updated closed issues
- 3
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
6 development-tooling and community-health practices detected across 2 families in the upstream repository
Checks run against github.com/sjewo/readstata13 on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-05-17 · The repository has a site deploy workflow
Dependencies
Installing readstata13 adds 1 package (1 with compiled code, 1.8 MB of source tarballs). Heaviest: Rcpp 1.8 MB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.11.0Latest
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 0.10.12023-02-21 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 0.10.02021-05-25 · diff ↗
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- 0.9.22018-05-27 · diff ↗
- 0.9.1
- RR 3.5.0 released · 2018-04-23
- 0.9.02017-05-05 · diff ↗
- RR 3.4.0 released · 2017-04-21
Show 14 earlier eventsHide 14 earlier events
Package metadata
- First published
- 2015-02-11
- Total releases
- 17 / 11 yrs
- License
- GPL-2 | file LICENSE OSI
- Download size
- 193 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("readstata13")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.