<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Kevin Jens Cox</title>
    <description>The latest articles on DEV Community by Kevin Jens Cox (@kevinjenscox).</description>
    <link>https://dev.to/kevinjenscox</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F618662%2F25cd42fa-dfb0-47ad-845c-43f2b8fde589.jpeg</url>
      <title>DEV Community: Kevin Jens Cox</title>
      <link>https://dev.to/kevinjenscox</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/kevinjenscox"/>
    <language>en</language>
    <item>
      <title>Building a Research Dataset from SEC Filings with DuckDB</title>
      <dc:creator>Kevin Jens Cox</dc:creator>
      <pubDate>Fri, 16 Oct 2026 18:02:55 +0000</pubDate>
      <link>https://dev.to/kevinjenscox/building-a-research-dataset-from-sec-filings-with-duckdb-3m08</link>
      <guid>https://dev.to/kevinjenscox/building-a-research-dataset-from-sec-filings-with-duckdb-3m08</guid>
      <description>&lt;p&gt;Building AI applications often requires more than connecting to an LLM. You also need reliable external data that can be combined with your own information.&lt;/p&gt;

&lt;p&gt;SEC EDGAR is a valuable source for company research, financial analysis, and AI-powered research applications. But integrating external datasets into your workflows can require additional data ingestion, normalization, and maintenance work.&lt;/p&gt;

&lt;p&gt;We've been exploring a simpler approach at Dataville.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://dataville.com" rel="noopener noreferrer"&gt;Dataville&lt;/a&gt; provides access to curated external datasets through an API and MCP server, starting with sources including SEC EDGAR and Wikimedia.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example: Building a sector research dataset&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Imagine you're building an AI-powered research application that needs to compare companies within a particular industry.&lt;/p&gt;

&lt;p&gt;You might want to combine:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;SEC filings: Public company disclosures and financial information.&lt;/li&gt;
&lt;li&gt;Proprietary research: Internal company notes, analyst observations, or other research.&lt;/li&gt;
&lt;li&gt;Structured analytics: A consistent way to join, filter, and analyze the resulting information.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;One approach is to use DuckDB, an analytical database that makes it possible to query and combine datasets using SQL.&lt;/p&gt;

&lt;p&gt;We've documented a workflow that uses Dataville to retrieve SEC filing data and DuckDB to combine it with proprietary research.&lt;/p&gt;

&lt;p&gt;The result is a sector-specific research dataset that can support company comparisons, analysis, and downstream AI applications.&lt;/p&gt;

&lt;p&gt;Follow the complete SEC EDGAR + DuckDB tutorial&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why external data matters for AI applications&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;As AI applications become more specialized, access to relevant external data becomes increasingly important.&lt;/p&gt;

&lt;p&gt;Consider a few potential applications:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AI-powered financial research&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Build applications that retrieve company information from SEC filings and combine it with internal research.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Competitive intelligence&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Create structured comparisons of companies using external information alongside proprietary data.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Retrieval-augmented generation (RAG)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Use external reference material to provide additional context for AI-generated responses.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AI agents&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Give agents access to external information through APIs or MCP integrations rather than relying exclusively on information embedded in the model.&lt;/p&gt;

&lt;p&gt;These applications share a common requirement: getting useful external data into the application.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Reducing the work of external data integration&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Traditionally, developers working with multiple external datasets may need to build separate integrations for each source.&lt;/p&gt;

&lt;p&gt;That can involve retrieving data, transforming it into consistent formats, handling updates, and maintaining the resulting pipelines.&lt;/p&gt;

&lt;p&gt;Dataville is designed to simplify this process by providing curated external datasets through a consistent API and MCP interface.&lt;/p&gt;

&lt;p&gt;The initial sources include SEC EDGAR and Wikimedia, with plans to expand the available datasets.&lt;/p&gt;

&lt;p&gt;For developers, the goal is straightforward: spend less time maintaining external data integrations and more time building applications.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Try the example&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If you're working on AI applications that need external company information, we've published a hands-on walkthrough showing how to combine SEC filing data with your own research using DuckDB.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://docs.dataville.com/guides/sector-dataset-duckdb" rel="noopener noreferrer"&gt;Follow the complete SEC EDGAR + DuckDB tutorial&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You can also &lt;a href="https://docs.dataville.com/guides/overview" rel="noopener noreferrer"&gt;Explore the Dataville developer guides&lt;/a&gt; or try &lt;a href="https://dataville.com" rel="noopener noreferrer"&gt;Dataville&lt;/a&gt; for free.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;I'd love your feedback&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;We're early in building Dataville and interested in learning how other developers approach external data integration.&lt;/p&gt;

&lt;p&gt;How are you managing external datasets in your AI applications?&lt;/p&gt;

&lt;p&gt;Are you maintaining your own ingestion pipelines, using third-party APIs, or connecting external sources directly to AI agents?&lt;/p&gt;

&lt;p&gt;And which external datasets would be most useful for the applications you're building?&lt;/p&gt;

&lt;p&gt;I'd love to hear what's working, what's frustrating, and what you'd like to see improved.&lt;/p&gt;

&lt;p&gt;We're still early with Dataville and would welcome feedback from developers building data-intensive AI applications.&lt;/p&gt;

&lt;p&gt;How are you managing external datasets today? Are you maintaining your own pipelines, using third-party APIs, or connecting data directly to AI agents?&lt;/p&gt;

</description>
      <category>ai</category>
      <category>tutorial</category>
      <category>python</category>
      <category>api</category>
    </item>
  </channel>
</rss>
