chercheville v0.1.1 ChercheVille.SeedData

Loading data from the geonames text files into our database.

Summary

Functions

Fetch data for countries specified by country_codes and store it locally

Load cities data from files that have been previously fetched with fetch_data/1 and insert this data into our database

Functions

fetch_data(country_codes \\ [])

Fetch data for countries specified by country_codes and store it locally.

import_data(country_codes \\ [])

Load cities data from files that have been previously fetched with fetch_data/1 and insert this data into our database.