DataHerb
Flora Add Data Articles
Ecosystem
Python Package
Community
Telegram
About

DataHerb:

European Countries by Area

• [ #Geo ]

DataHerb Metadata

  • DataHerb ID: european_countries_by_area
  • DataHerb Name: European Countries by Area
  • Contributors: datumorphism
  • Description: European countries and their areas in Europe
  • GitHub Repository: datumorphism/dataset-european-countries
  • Licenses:
    1. Creative Commons Attribution-ShareAlike License

DataHerb Leaves: Files in Dataset

  • Metadata
  • Usage
  • Name: european countries in csv format
  • File:
  • Format: csv
  • Size: 8.5K

Fields

  1. country_name: name of the country
  2. alpha_2: alpha 2 code of the country
  3. alpha_3: alpha 3 code of the country
  4. alt_names: alternative names of the country
  5. numeric: numeric code of the country
  6. area_km2: area in Europe of the country in unit of kilometer square
  7. area_comment: notes about the area

Preview

Import Data

Copy the following code and paste into a Google Spreadsheet cell.
=IMPORTDATA("https://raw.githubusercontent.com/datumorphism/dataset-european-countries/master/dataset/european_countries.csv")
Load data into a Pandas DataFrame:
import pandas as pd
url = "https://raw.githubusercontent.com/datumorphism/dataset-european-countries/master/dataset/european_countries.csv"
df = pd.read_csv(url)
  • Name: european countries in json format
  • File:
  • Format: json
  • Size: 4K

Fields

  1. country_name: name of the country
  2. alpha_2: alpha 2 code of the country
  3. alpha_3: alpha 3 code of the country
  4. alt_names: alternative names of the country
  5. numeric: numeric code of the country
  6. area_km2: area in Europe of the country in unit of kilometer square
  7. area_comment: notes about the area

Import Data

Load data into a Pandas DataFrame:
import pandas as pd
url = "https://raw.githubusercontent.com/datumorphism/dataset-european-countries/master/dataset/european_countries.json"
df = pd.read_json(url)

References:

  • List of European countries by area from Wikipedia
explorer@dataherb: ~
The DataHerb Terminal — Type help.
➜ ~

The DataHerb Index by DataHerb.