I am trying to operate regressions over two parameters - (1) Ratio of length of coastal border to land border (2) Average Military Expenditure through 1996-2016 for each country.
For parameter (2) will use the database given by SIPRI(Stockholm Peace Institution) which is available in following link : https://www.sipri.org/databases/milex
However, since I am an quite novice to the field of Geographic informations, so keep losing my times to find the required and proper data for para (1).
For clarification coastal border means measured total length of border where it faces with sea while land border means measured total length of border where it faces with land.
I prefer the csv type of database, but the format would not be big problem and also I am willing to handle and experience some geo-specific data formats too.
Where could I get the border data which is classified as Coastal and Land?
I am basically using Python with NumPy and Matpolib.