Stata File.Read Data Frame Method
Definition
Namespace: Numerics.NET.Data.Stata
Assembly: Numerics.NET.Data (in Numerics.NET.Data.dll) Version: 4.0.3
Assembly: Numerics.NET.Data (in Numerics.NET.Data.dll) Version: 4.0.3
Overload List
Read | Reads a data frame from a stream in stata® format. |
Read | Reads a data frame from a Stata file. |
Read | Reads a data frame from a Stata file. |
ReadDataFrame(Stream)
Reads a data frame from a stream in stata® format.
public static DataFrame<long, string> ReadDataFrame(
Stream stream
)
Parameters
Return Value
DataFrame<Int64, String>ReadDataFrame(String)
Reads a data frame from a Stata
file.
public static DataFrame<long, string> ReadDataFrame(
string path
)
Parameters
- path String
- The path to the data file.
Return Value
DataFrame<Int64, String>A data frame containing the data in the file specified by path.
Exceptions
Argument | path is null. |
IOException | The file specified by path does not exist. |
ReadDataFrame<R, C>(String)
Reads a data frame from a Stata
file.
public static DataFrame<R, C> ReadDataFrame<R, C>(
string path
)
Parameters
- path String
- The path to the data file.
Type Parameters
- R
- C
Return Value
DataFrame<R, C>A data frame containing the data in the file specified by path.
Exceptions
Argument | path is null. |
IOException | The file specified by path does not exist. |