Datagov Tools

Configuration File: datagov_tools.json Tool Type: Local Tools Count: 1

This page contains all tools defined in the datagov_tools.json configuration file.

Available Tools

DataGov_search_datasets (Type: DataGovTool)

Search the US federal open data catalog (Data.gov) for datasets from agencies like EPA, CDC, Cens…

DataGov_search_datasets tool specification

Tool Information:

  • Name: DataGov_search_datasets

  • Type: DataGovTool

  • Description: Search the US federal open data catalog (Data.gov) for datasets from agencies like EPA, CDC, Census Bureau, NIH, USDA, NOAA, and more. Data.gov uses the CKAN API and indexes over 300,000 federal datasets. Returns dataset titles, descriptions, organizations, download resource URLs, tags, and last-modified dates. Use organization filter (e.g. ‘epa-gov’, ‘cdc-gov’, ‘usda-gov’, ‘nih-gov’, ‘census-gov’, ‘noaa-gov’) to narrow results to a specific agency.

Parameters:

  • query (string) (required) Search keywords for dataset discovery. Searches across dataset titles, descriptions, and tags.

  • organization ([‘string’, ‘null’]) (optional) Optional CKAN organization slug to filter by federal agency. Examples: ‘epa-gov’, ‘cdc-gov’, ‘usda-gov’, ‘nih-gov’, ‘census-gov’, ‘noaa-gov’, ‘nasa-gov’, ‘nsf-gov’, ‘doe-gov’, ‘hhs-gov’. Leave null to search all agencies.

  • rows (integer) (optional) Number of results to return. Default 10, maximum 100.

Example Usage:

query = {
    "name": "DataGov_search_datasets",
    "arguments": {
        "query": "example_value"
    }
}
result = tu.run(query)