ipumspy.ddi.FileDescription

class ipumspy.ddi.FileDescription(filename, description, structure, encoding, format, place)[source]

In the IPUMS DDI, the file has its own particular description. Extract that from the XML.

Attributes

filename

IPUMS extract ddi file name

description

IPUMS ddi file description

structure

IPUMS extract data file structure.

encoding

IPUMS file encoding scheme

format

IPUMS extract data file format

place

IPUMS physical address

Methods

__init__

read

Read a FileDescription from the parsed XML