NLSY97 2013 HDF5 Conversion

The NLSY97 as an HDF5 file

Resources | Packages | Documentation| Contacts| References


This datapackage links to a HDF5 conversion of the NLSY97, with responses to 2013.

Because the HDF file is very large and complex to produce, this package links to the file on the web. The file was produces external to the package.

This is much more complicated to use than other files. The publicdata python package must be installed to get the Nlsy classes that can read the HDF5 file. Typical useage is:

pkg = mp.open_package('')
nlsy = pkg.reference('nlsy97').resolved_url.get_resource().get_target().nlsy
homeless = nlsy.question_dataframe('YHEA-2600A',  replacena=True, rmeta=True)



Accessing Packages in Metapack

import metapack as mp

# CSV Package
pkg = mp.open_package('') 

resource = pkg.resource('resource_name') # Get a resource
df = resource.dataframe() # Create a pandas Dataframe
gdf = resource.geoframe() # Create a GeoPandas GeoDataFrame


Urls used in the creation of this data package.

  • nlsy+ NLSY 97 HDF5 file

Last Modified 2019-04-18T18:41:54