Norwegian Postal Code Parser v0.5.2 PostalCode
Postal code parser for the Norwegian postal code system.
Link to this section Summary
Functions
Accepts a postal code in string format, and returns the postal place.
Link to this section Functions
Link to this function
get_county_list()
Link to this function
get_erik_file()
Link to this function
location_to_county(map)
Link to this function
postal_code_to_county(postal_code)
Link to this function
postal_code_to_location(postal_code)
Link to this function
postal_code_to_place(postal_code)
Accepts a postal code in string format, and returns the postal place.
Examples
iex> PostalCode.postal_code_to_place("0186")
iex> PostalCode.postal_code_to_place("0638") :no_results
iex> PostalCode.postal_code_to_place(0186)
iex> PostalCode.postal_code_to_place("018")