Data.gov
Data.gov is an open data website created by the U.S. General Services Administration that is based on two robust open source projects: CKAN and WordPress. The data catalog at catalog.data.gov is powered by CKAN.
CKAN Extension for Geospatial Data
Most Data.gov specific CKAN customizations are contained within this extension, but the extension also provides additional geospatial capabilities.
Requirements
| Extension |
Description |
| ckanext-harvest |
Required |
| ckanext-spatial |
Required |
This extension is compatible with these versions of CKAN:
| CKAN version |
Compatible |
| <=2.8 |
no |
| 2.9 |
0.1.37 (last supported) |
| 2.10 |
>=0.2.0 |
Command line interface
The following operations can be run from the command line:
geodatagov sitemap-to-s3 [{upload_to_s3}] [{page_size}] [{max_per_page}]
- Generates sitemap and uploads to s3
geodatagov db-solr-sync [{dryrun}] [{cleanup_solr}] [{update_solr}]
- DB Solr sync
geodatagov tracking-update [{start_date}]
- ckan tracking update with customized options and output
Using the Docker Dev Environment
To start environment, run:
docker compose build
docker compose up
CKAN will start at localhost:5000
Testing
Tests follow the guidelines for testing CKAN extensions. To run:
make test
make lint
Credit / Copying
Original work written by the HealthData.gov team. It has been modified in support of Data.gov.
As a work of the United States Government, this package is in the public domain within the United States. Additionally, we waive copyright and related rights in the work worldwide through the CC0 1.0 Universal public domain dedication.