Has anyone successfully imported TX RRC commission data into R? Here
If so, how is it done? The dataset I downloaded is one of the ASCII format sets.
I got a sample of 1000 records from the UIC dataset into R. The first two bytes are the record type. Each record is reportedly 622 characters, but I find this is not the case in the ASCII files. Each record type (KEY) has unique fields.
It looks like the start of a series of records, comprising a well file, begins with "01", followed by several rows of information in various fixed width formats, and the well file ends with the start of the next one beginning with "01".
FYI, I am finding LaF package to be the most efficient on this one.
Those ASCII files have no column headers and the fields are separated by a
"}"character. At least the two I have checked.The following example is a file found in section Oil & Gas Field Data, row Gas Annual Report Field Table. I have chosen file
"gsf384b"because it is the smallest at 8.03 KB.Note that base
read.tablethrows an error, the data is read in withreadr::read_delim.Created on 2023-04-01 with reprex v2.0.2