Machine-readable data


Machine-readable data, or computer-readable data, is data in a format that can be processed by a computer. Machine-readable data must be structured data.
In the United States, the OPEN Government Data Act of 14 January 2019 defines machine-readable data as "data in a format that can be easily processed by a computer without human intervention while ensuring no semantic meaning is lost." The law directs U.S. federal agencies to publish public data in such manner, ensuring that "any public data asset of the agency is machine-readable".
Machine-readable data may be classified in two groups: human-readable data that is marked up so that it can also be read by machines, and data file formats intended principally for processing by machines. These formats are only machine readable if the data contained within them is formally structured; exporting a CSV file from a badly structured spreadsheet does not meet the definition.
Machine readable is not synonymous with digitally accessible. A digitally accessible document may be online, making it easier for humans to access via computers, but its content is much harder to extract, transform, and process via computer programming logic if it is not machine-readable.
Extensible Markup Language is designed to be both human- and machine-readable, and Extensible Stylesheet Language Transformation is used to improve presentation of the data for human readability. For example, XSLT can be used to automatically render XML in Portable Document Format. Machine-readable data can be automatically transformed for human-readability but, generally speaking, the reverse is not true.
For purposes of implementation of the Government Performance and Results Act Modernization Act, the Office of Management and Budget defines "machine readable format" as follows: "Format in a standard computer language that can be read automatically by a web browser or computer system.. Traditional word processing documents and portable document format files are easily read by humans but typically are difficult for machines to interpret. Other formats such as extensible markup language,, or spreadsheets with header columns that can be exported as comma separated values are machine readable formats. As HTML is a structural markup language, discreetly labeling parts of the document, computers are able to gather document components to assemble tables of contents, outlines, literature search bibliographies, etc. It is possible to make traditional word processing documents and other formats machine readable but the documents must include enhanced structural elements."