Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8235847
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T18:57:16+00:00 2026-06-07T18:57:16+00:00

Does anyone know of an Open Source library for parsing/reading Stata files in .net?

  • 0

Does anyone know of an Open Source library for parsing/reading Stata files in .net? It is a tabular data format.

I plan to write an IDataReader based reader if no one has seen something that could be reused.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T18:57:18+00:00Added an answer on June 7, 2026 at 6:57 pm

    After an exhaustive search, I could not find a library for reading Stata files. I did end up writing an IDataReader implementation for Stata versions 5 to 12. I will see if I can post it to github.

    One note for others: the IDataReader does not have a method to get a typed sbyte (int 8) which Stata uses, so if you need that value when implementing a reader with an IDataReader interface, you can return it through the GetInt16.

        // On the actual StataDataReader
        public sbyte GetSByte(int i) {}
    
        // This is the smallest int available on IDataReader
        // It will call GetSByte internally if that is the column type
        public short GetInt16(int i){}
    

    I also added an in depth GetMissingValue since Stata can have numerous missing value codes. IsDBNull does not support any context information.

        public IMissingValue GetMissingValue(int i) {}
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Does anyone know of a good open-source zipping library for .NET?
Does anyone know an open source java solution to display the Query Execution plan
Does anyone know of an open source financial library that implements Yield To Maturity
Does anyone know of an open source library in Visual Basic 6 that converts
Does anyone know of an open-source library that allows you to parse and read
Does anyone know of a good (preferably open source) library for dealing with the
Does anyone know of a great small open source Unicode handling library for C
Does anyone know of an open source Intelligent Character Recognition (ICR) library? There seems
Does anyone know of an open source library that does ftp-client with TLS and
Does anyone know of a library -- open source or otherwise -- that I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.