File: get.frames.Rd

package info (click to toggle)
r-cran-readstata13 0.11.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 804 kB
  • sloc: cpp: 1,770; ansic: 278; makefile: 2
file content (26 lines) | stat: -rw-r--r-- 658 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tools.R
\name{get.frames}
\alias{get.frames}
\title{List frames in Stata dtas files}
\usage{
get.frames(path)
}
\arguments{
\item{path}{path to .dtas file}
}
\value{
Returns a data.frame with frame names, internal filenames and dta file format version.
}
\description{
Stata 18 introduced framesets (file extension `.dtas`) that contain zipped `dta`
files. This helper functions imports those files and returns a list of data.frames.
}
\examples{

path <- system.file("extdata", "myproject2.dtas", package="readstata13")

# print all frames in myproject2.dtas
get.frames(path)

}