<?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: Archie Chang</title>
    <description>The latest articles on DEV Community by Archie Chang (@fedratecalc).</description>
    <link>https://dev.to/fedratecalc</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%2F4275381%2F4e703161-1974-46ac-9b65-f5c864d790f6.png</url>
      <title>DEV Community: Archie Chang</title>
      <link>https://dev.to/fedratecalc</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/fedratecalc"/>
    <language>en</language>
    <item>
      <title>Subscribe to FOMC meetings, U.S. data releases and federal holidays as ICS calendars</title>
      <dc:creator>Archie Chang</dc:creator>
      <pubDate>Tue, 01 Dec 2026 03:45:13 +0000</pubDate>
      <link>https://dev.to/fedratecalc/subscribe-to-fomc-meetings-us-data-releases-and-federal-holidays-as-ics-calendars-40cb</link>
      <guid>https://dev.to/fedratecalc/subscribe-to-fomc-meetings-us-data-releases-and-federal-holidays-as-ics-calendars-40cb</guid>
      <description>&lt;p&gt;I run FedRateCalc, a site of U.S. federal pay, tax and Fed-rate calculators. The dates behind those pages are also published as open files (CSV, JSON and ICS) under CC BY 4.0. This post shows how to subscribe to three of them as calendars, and how to read the CSV versions with the Python standard library.&lt;/p&gt;

&lt;h2&gt;
  
  
  The three calendar feeds
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Calendar&lt;/th&gt;
&lt;th&gt;ICS file&lt;/th&gt;
&lt;th&gt;What is in it&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;FOMC meetings 2026–2027&lt;/td&gt;
&lt;td&gt;&lt;code&gt;https://fedratecalc.com/data/files/fomc-meetings-2026-2027.ics&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;15 meetings (8 in 2026, 7 in 2027) with the policy statement time, 2:00 p.m. ET&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;U.S. economic release calendar 2026&lt;/td&gt;
&lt;td&gt;&lt;code&gt;https://fedratecalc.com/data/files/us-economic-release-calendar-2026.ics&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;101 releases: CPI, PPI, the jobs report, JOLTS, retail sales, GDP, PCE, plus FOMC statements and minutes, each at its scheduled ET time&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;U.S. federal holidays 2026–2028&lt;/td&gt;
&lt;td&gt;&lt;code&gt;https://fedratecalc.com/data/files/us-federal-holidays-2026-2028.ics&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;33 all-day events, 11 per year, on the observed date when a holiday falls on a weekend&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Subscribe instead of importing
&lt;/h2&gt;

&lt;p&gt;A subscription picks up changes when a date moves; an import is a one-time copy.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Google Calendar (web):&lt;/strong&gt; Settings → Add calendar → From URL, then paste the &lt;code&gt;.ics&lt;/code&gt; address. Google refreshes subscribed calendars on its own schedule, so a change can take several hours to show up.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Apple Calendar (macOS):&lt;/strong&gt; File → New Calendar Subscription…, paste the address, then pick an auto-refresh interval.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Outlook.com:&lt;/strong&gt; Add calendar → Subscribe from web, then paste the address.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Read the CSV with Python
&lt;/h2&gt;

&lt;p&gt;The same data is available as CSV. This script lists the next three FOMC decisions and the releases due in the next seven days, using only the standard library:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;csv&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;io&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;urllib&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;request&lt;/span&gt;
&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;datetime&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;date&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;timedelta&lt;/span&gt;

&lt;span class="no"&gt;BASE&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"https://fedratecalc.com/data/files/"&lt;/span&gt;


&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;read_csv&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;req&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;urllib&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;request&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;Request&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="no"&gt;BASE&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;headers&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"User-Agent"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"fomc-calendar-example/1.0"&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;with&lt;/span&gt; &lt;span class="n"&gt;urllib&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;request&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;urlopen&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;req&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="n"&gt;resp&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="kt"&gt;list&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;csv&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;DictReader&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;io&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;TextIOWrapper&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;resp&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;encoding&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"utf-8"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;


&lt;span class="n"&gt;today&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;date&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;today&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="c1"&gt;# Next three FOMC decisions (statement time is Eastern Time)&lt;/span&gt;
&lt;span class="n"&gt;meetings&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;read_csv&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"fomc-meetings-2026-2027.csv"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;m&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;m&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;m&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;meetings&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;m&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"meeting_end_date"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;=&lt;/span&gt; &lt;span class="n"&gt;today&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;isoformat&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;sep&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;", with economic projections"&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;m&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"sep"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="s2"&gt;"yes"&lt;/span&gt; &lt;span class="k"&gt;else&lt;/span&gt; &lt;span class="s2"&gt;""&lt;/span&gt;
    &lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;f&lt;/span&gt;&lt;span class="s1"&gt;'FOMC {m["meeting_start_date"]} to {m["meeting_end_date"]}, statement {m["statement_time_et"]} ET{sep}'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="c1"&gt;# U.S. data releases in the next 7 days&lt;/span&gt;
&lt;span class="n"&gt;week&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;today&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="nf"&gt;timedelta&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;days&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;7&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;isoformat&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="nf"&gt;read_csv&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"us-economic-release-calendar-2026.csv"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;today&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;isoformat&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;=&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"release_date"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;=&lt;/span&gt; &lt;span class="n"&gt;week&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;f&lt;/span&gt;&lt;span class="s1"&gt;'{r["release_date"]} {r["time_et"]} ET  {r["release_name"]} ({r["reference_period"]})'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Run on December 1, 2026, it prints:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;FOMC 2026-12-08 to 2026-12-09, statement 14:00 ET, with economic projections
FOMC 2027-01-26 to 2027-01-27, statement 14:00 ET
FOMC 2027-03-16 to 2027-03-17, statement 14:00 ET
2026-12-01 10:00 AM ET  Job Openings and Labor Turnover Survey (JOLTS) (October 2026)
2026-12-04 8:30 AM ET  Employment Situation (Nonfarm Payrolls) (November 2026)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Set a User-Agent of your own, as above. The default &lt;code&gt;Python-urllib&lt;/code&gt; agent gets a 403 from the site's CDN.&lt;/p&gt;

&lt;h2&gt;
  
  
  Fields you will use
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;FOMC file:&lt;/strong&gt; &lt;code&gt;meeting_start_date&lt;/code&gt;, &lt;code&gt;meeting_end_date&lt;/code&gt;, &lt;code&gt;statement_time_et&lt;/code&gt;, &lt;code&gt;statement_datetime_utc&lt;/code&gt;, &lt;code&gt;sep&lt;/code&gt; (&lt;code&gt;yes&lt;/code&gt; when the meeting includes the Summary of Economic Projections; 4 of the 15), &lt;code&gt;status&lt;/code&gt;, &lt;code&gt;source_url&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Release file:&lt;/strong&gt; &lt;code&gt;release_name&lt;/code&gt;, &lt;code&gt;release_type&lt;/code&gt;, &lt;code&gt;release_date&lt;/code&gt;, &lt;code&gt;time_et&lt;/code&gt;, &lt;code&gt;datetime_utc&lt;/code&gt;, &lt;code&gt;reference_period&lt;/code&gt;, &lt;code&gt;agency&lt;/code&gt;, &lt;code&gt;source_url&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;datetime_utc&lt;/code&gt; saves you the daylight-saving arithmetic: the March 18, 2026 statement is 18:00 UTC, the January 28 one 19:00 UTC.&lt;/p&gt;

&lt;h2&gt;
  
  
  Sources, license, updates
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Every row has a &lt;code&gt;source_url&lt;/code&gt;: the Federal Reserve's FOMC calendar for the meetings, and the BLS, BEA and Census Bureau release schedules for the data releases. If an agency moves a date, its own schedule is the authority.&lt;/li&gt;
&lt;li&gt;License: CC BY 4.0. Credit "FedRateCalc" and link the dataset page; the underlying U.S. government data is in the public domain.&lt;/li&gt;
&lt;li&gt;The files are regenerated with each site build. A mirror of all the files is on GitHub: &lt;a href="https://github.com/ArchieR7/fedratecalc-open-data" rel="noopener noreferrer"&gt;https://github.com/ArchieR7/fedratecalc-open-data&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;All datasets, with field dictionaries and citation text: &lt;a href="https://fedratecalc.com/data/" rel="noopener noreferrer"&gt;https://fedratecalc.com/data/&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The release calendar covers 2026 for now; the agencies have not all published their 2027 schedules yet.&lt;/p&gt;

</description>
      <category>opendata</category>
      <category>python</category>
      <category>productivity</category>
      <category>finance</category>
    </item>
  </channel>
</rss>
