This is a scraper that runs on Morph. To get started see the documentation

Contributors andylolz

Last run completed successfully .

Console output of last run

Injecting configuration and compiling...  -----> Python app detected  ! The latest version of Python 3 is python-3.6.2 (you are using python-3.4.3, which is unsupported).  ! We recommend upgrading by specifying the latest version (python-3.6.2).  Learn More: https://devcenter.heroku.com/articles/python-runtimes -----> Installing python-3.4.3 -----> Installing pip -----> Installing requirements with pip  DEPRECATION: Python 3.4 support has been deprecated. pip 19.1 will be the last one supporting it. Please upgrade your Python as Python 3.4 won't be maintained after March 2019 (cf PEP 429).  Collecting scraperwiki==0.5.1 (from -r /tmp/build/requirements.txt (line 1))  Downloading https://files.pythonhosted.org/packages/30/84/d874847baad89f03e6984fcd87505a37bf924b66519d1e07bf76e2369af0/scraperwiki-0.5.1.tar.gz  Collecting beautifulsoup4==4.5.3 (from -r /tmp/build/requirements.txt (line 2))  Downloading https://files.pythonhosted.org/packages/af/a3/9e803f838b3eeb313d45d916d4387cda8572c92e1aafeb53fd43ddb5da2c/beautifulsoup4-4.5.3-py3-none-any.whl (85kB)  Collecting requests==2.20.0 (from -r /tmp/build/requirements.txt (line 3))  Downloading https://files.pythonhosted.org/packages/f1/ca/10332a30cb25b627192b4ea272c351bce3ca1091e541245cccbace6051d8/requests-2.20.0-py2.py3-none-any.whl (60kB)  Collecting six (from scraperwiki==0.5.1->-r /tmp/build/requirements.txt (line 1))  Downloading https://files.pythonhosted.org/packages/65/26/32b8464df2a97e6dd1b656ed26b2c194606c16fe163c695a992b36c11cdf/six-1.13.0-py2.py3-none-any.whl  Collecting sqlalchemy (from scraperwiki==0.5.1->-r /tmp/build/requirements.txt (line 1))  Downloading https://files.pythonhosted.org/packages/34/5c/0e1d7ad0ca52544bb12f9cb8d5cc454af45821c92160ffedd38db0a317f6/SQLAlchemy-1.3.11.tar.gz (6.0MB)  Collecting alembic (from scraperwiki==0.5.1->-r /tmp/build/requirements.txt (line 1))  Downloading https://files.pythonhosted.org/packages/84/64/493c45119dce700a4b9eeecc436ef9e8835ab67bae6414f040cdc7b58f4b/alembic-1.3.1.tar.gz (1.1MB)  Collecting chardet<3.1.0,>=3.0.2 (from requests==2.20.0->-r /tmp/build/requirements.txt (line 3))  Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB)  Collecting urllib3<1.25,>=1.21.1 (from requests==2.20.0->-r /tmp/build/requirements.txt (line 3))  Downloading https://files.pythonhosted.org/packages/01/11/525b02e4acc0c747de8b6ccdab376331597c569c42ea66ab0a1dbd36eca2/urllib3-1.24.3-py2.py3-none-any.whl (118kB)  Collecting certifi>=2017.4.17 (from requests==2.20.0->-r /tmp/build/requirements.txt (line 3))  Downloading https://files.pythonhosted.org/packages/b9/63/df50cac98ea0d5b006c55a399c3bf1db9da7b5a24de7890bc9cfd5dd9e99/certifi-2019.11.28-py2.py3-none-any.whl (156kB)  Collecting idna<2.8,>=2.5 (from requests==2.20.0->-r /tmp/build/requirements.txt (line 3))  Downloading https://files.pythonhosted.org/packages/4b/2a/0276479a4b3caeb8a8c1af2f8e4355746a97fab05a372e4a2c6a6b876165/idna-2.7-py2.py3-none-any.whl (58kB)  Collecting Mako (from alembic->scraperwiki==0.5.1->-r /tmp/build/requirements.txt (line 1))  Downloading https://files.pythonhosted.org/packages/b0/3c/8dcd6883d009f7cae0f3157fb53e9afb05a0d3d33b3db1268ec2e6f4a56b/Mako-1.1.0.tar.gz (463kB)  Collecting python-editor>=0.3 (from alembic->scraperwiki==0.5.1->-r /tmp/build/requirements.txt (line 1))  Downloading https://files.pythonhosted.org/packages/c6/d3/201fc3abe391bbae6606e6f1d598c15d367033332bd54352b12f35513717/python_editor-1.0.4-py3-none-any.whl  Collecting python-dateutil (from alembic->scraperwiki==0.5.1->-r /tmp/build/requirements.txt (line 1))  Downloading https://files.pythonhosted.org/packages/d4/70/d60450c3dd48ef87586924207ae8907090de0b306af2bce5d134d78615cb/python_dateutil-2.8.1-py2.py3-none-any.whl (227kB)  Collecting MarkupSafe>=0.9.2 (from Mako->alembic->scraperwiki==0.5.1->-r /tmp/build/requirements.txt (line 1))  Downloading https://files.pythonhosted.org/packages/99/c9/5d5dcf2aa90f1d4500e92467a04f63b3708ee6e5764b40b2445e767ab8dc/MarkupSafe-1.1.1-cp34-cp34m-manylinux1_x86_64.whl  Building wheels for collected packages: scraperwiki, sqlalchemy, alembic, Mako  Building wheel for scraperwiki (setup.py): started  Building wheel for scraperwiki (setup.py): finished with status 'done'  Stored in directory: /tmp/pip-ephem-wheel-cache-kea6otxi/wheels/6a/6e/60/e13b585339206922e816bb90c355b79aa077ab2b15d7cc26a7  Building wheel for sqlalchemy (setup.py): started  Building wheel for sqlalchemy (setup.py): finished with status 'done'  Stored in directory: /tmp/pip-ephem-wheel-cache-kea6otxi/wheels/a3/67/7d/6c41104a1a08ff1a25e260d3edec3ac19203141d1aaa2f0975  Building wheel for alembic (setup.py): started  Building wheel for alembic (setup.py): finished with status 'done'  Stored in directory: /tmp/pip-ephem-wheel-cache-kea6otxi/wheels/b2/d4/19/5ab879d30af7cbc79e6dcc1d421795b1aa9d78f455b0412ef7  Building wheel for Mako (setup.py): started  Building wheel for Mako (setup.py): finished with status 'done'  Stored in directory: /tmp/pip-ephem-wheel-cache-kea6otxi/wheels/98/32/7b/a291926643fc1d1e02593e0d9e247c5a866a366b8343b7aa27  Successfully built scraperwiki sqlalchemy alembic Mako  Installing collected packages: chardet, urllib3, certifi, idna, requests, six, sqlalchemy, MarkupSafe, Mako, python-editor, python-dateutil, alembic, scraperwiki, beautifulsoup4  Successfully installed Mako-1.1.0 MarkupSafe-1.1.1 alembic-1.3.1 beautifulsoup4-4.5.3 certifi-2019.11.28 chardet-3.0.4 idna-2.7 python-dateutil-2.8.1 python-editor-1.0.4 requests-2.20.0 scraperwiki-0.5.1 six-1.13.0 sqlalchemy-1.3.11 urllib3-1.24.3 DEPRECATION: Python 3.4 support has been deprecated. pip 19.1 will be the last one supporting it. Please upgrade your Python as Python 3.4 won't be maintained after March 2019 (cf PEP 429).  DEPRECATION: Python 3.4 support has been deprecated. pip 19.1 will be the last one supporting it. Please upgrade your Python as Python 3.4 won't be maintained after March 2019 (cf PEP 429).   -----> Discovering process types  Procfile declares types -> scraper Injecting scraper and running...

Data

Downloaded 0 times

To download data sign in with GitHub

Download table (as CSV) Download SQLite database (33 KB) Use the API

rows 9 / 9

name code
Administrative Regions
A
Hydrographic
H
Areas/Localities
L
Populated Places
P
Transportation Networks
R
Spot Features
S
Hypsographic
T
Undersea
U
Vegetation
V

To download data sign in with GitHub

Download table (as CSV) Download SQLite database (33 KB) Use the API

rows 10 / 632

category name code
A
historical first-order administrative division
ADM1H
A
historical political entity
PCLH
L
historical region
RGNH
R
historical railroad
RRH
S
historical railroad station
RSTNH
A
first-order administrative division
ADM1
A
second-order administrative division
ADM2
A
third-order administrative division
ADM3
A
fourth-order administrative division
ADM4
A
administrative division
ADMD

Statistics

Average successful run time: less than a minute

Total run time: about 14 hours

Total cpu time used: 21 minutes

Total disk space used: 55.3 KB

History

  • Auto ran revision 8b5001ed and completed successfully .
    636 records added, 636 records removed in the database
  • Auto ran revision 8b5001ed and completed successfully .
    636 records added, 636 records removed in the database
  • Auto ran revision 8b5001ed and completed successfully .
    636 records added, 636 records removed in the database
  • Auto ran revision 8b5001ed and completed successfully .
    636 records added, 636 records removed in the database
  • Auto ran revision 8b5001ed and completed successfully .
    636 records added, 636 records removed in the database
  • ...
  • Created on morph.io

Show complete history

Scraper code

Python

feature-designation-codes / scraper.py