Skip to content
This repository was archived by the owner on Nov 7, 2018. It is now read-only.

Conversation

@kynetiv
Copy link

@kynetiv kynetiv commented Jul 13, 2016

This PR addresses the need for multiple field values to map to a NULL value in the API. This
is related to RTICWDT/college-scorecard#903.

Currently, config.null_value and map_column_types methods only allow for a single string value in the data dictionary to be mapped to null when encountered in the csv data during import. The default has been the string "NULL" if no data dictionary entry was found.

This PR allows for the null_value to be defined as an array OR a single entry when the column type's are mapped and will give more flexibility for other field value instances that should be mapped to null.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants