Similar Web Miner v0.1.4 SimilarWebMiner.Geography View Source
Handle geographic info extraction
Link to this section Summary
Functions
Make sure a country code is three digits
Get country name by country code #
Process similar web records of geography repartition
Link to this section Functions
Make sure a country code is three digits
Examples
iex> SimilarWebMiner.Geography.convert_code_to_three_digits("5") "005"
iex> SimilarWebMiner.Geography.convert_code_to_three_digits("250") "250"
Get country name by country code #
Examples
iex> SimilarWebMiner.Geography.get_country_by_code("250") "France"
iex> SimilarWebMiner.Geography.get_country_by_code(250) "France"
iex> SimilarWebMiner.Geography.get_country_by_code("51") "Armenia"
Process similar web records of geography repartition