Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 

WPRDC-data-API-overview

An overview of the Western Pennsylvania Regional Data Center's data API services

The Western Pennsylvania Regional Data Center's data portal (where you can get lots of open data) runs on CKAN. CKAN has an API that allows the user to do things like get a list of all datasets on the WPRDC data portal, get a list of all datasets with resources and dataset metadata, download the data from any data table on the portal, or even run SQL queries.

Click this link to get a JSON-formatted response with all dogs licensed in Allegheny County whose names start with "MR.".

We've done a workshop on using web APIs in general and the WPRDC's APIs in particular. The linked GitHub repository includes examples and documention on using our data API.

Documentation

The CKAN API documentation is here. Documenation for the datastore_search and datastore_search_sql endpoints (for querying data tables) are here and here.

Wrappers

If you use Python or R, there are API wrappers that allow you to simplify the syntax needed to make API calls:

Some data API examples

Making SQL queries on WPRDC Data

CKAN API usage under R + debugging a broken SQL query

Tiny CKAN API examples

Finally

A long list of analyses done using WPRDC data and tools that can help you in using our data

About

An overview of the Western Pennsylvania Regional Data Center's data API services

Resources

Releases

No releases published

Packages

No packages published