• Stars
    star
    139
  • Rank 257,730 (Top 6 %)
  • Language
    Jupyter Notebook
  • License
    Apache License 2.0
  • Created about 8 years ago
  • Updated about 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A collection of tools for mining government data

Government Procurement Queries

A collection of SQL queries that help

  • Selling to the government
  • Learning about competitors
  • Monitoring government spending

The quickest way to find out what it means exactly:

Usage

Data

The data is collected from government websites and loaded to Google BigQuery:

Data BigQuery dataset Source
US Federal Government contracts (2000–2016) gpqueries:contracts USASpending.gov

For the codebooks, see data.

Queries

All queries are written for the BigQuery SQL dialect and stored in .sql files. Each file contains comments about its purpose and usage.

You can execute queries with:

All methods require a Google Account and a Google Cloud Project. Both are free. The first-time setup takes a couple of minutes.

Web GUI is the easiest to start with.

See also: Accessing BigQuery

Notebooks

Jupyter (IPython) notebooks with replication code and comments:

Reports

Extracts that highlight particular findings, usually from notebooks.

Coming soon

  • More federal coverage: federal grands, loans, and other assistance
  • Subnational coverage: states and large cities
  • Notebooks for business intelligence and finding government customers

To receive updates, press "Watch" in the top right corner.

Related

Contacts

Anton Tarasenko