18F / data-act-pilot

This small DATA Act pilot contains code that translates agency data to a uniform DATA act format.
Other
21 stars 14 forks source link

generate valid headers list dynamically #223

Closed bsweger closed 8 years ago

bsweger commented 8 years ago

This removes the hard-coded dictionary of valid header names for the uploaded .csv files. The new code replaces the hard-coded dictionary by reading each .csv file in validator/rules/ and grabbing its fieldname values.