<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.awesomestudies.org/index.php?action=history&amp;feed=atom&amp;title=Data</id>
	<title>Data - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.awesomestudies.org/index.php?action=history&amp;feed=atom&amp;title=Data"/>
	<link rel="alternate" type="text/html" href="https://wiki.awesomestudies.org/index.php?title=Data&amp;action=history"/>
	<updated>2026-04-29T16:01:55Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.6</generator>
	<entry>
		<id>https://wiki.awesomestudies.org/index.php?title=Data&amp;diff=220840&amp;oldid=prev</id>
		<title>Jcn: Created page with &quot;Snippets of code, etc for pulling data from the database.  == All projects with chapter info and funding details (used for the Summit data analysis) ==   rails runner  &quot;Projec...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.awesomestudies.org/index.php?title=Data&amp;diff=220840&amp;oldid=prev"/>
		<updated>2024-10-14T14:16:04Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Snippets of code, etc for pulling data from the database.  == All projects with chapter info and funding details (used for the Summit data analysis) ==   rails runner  &amp;quot;Projec...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Snippets of code, etc for pulling data from the database.&lt;br /&gt;
&lt;br /&gt;
== All projects with chapter info and funding details (used for the Summit data analysis) ==&lt;br /&gt;
&lt;br /&gt;
 rails runner  &amp;quot;Project.joins(:chapter).pluck(:id, Arel.sql(&amp;#039;TO_CHAR(created_at, \&amp;#039;YYYY-MM-DD\&amp;quot;T\&amp;quot;HH24:MI:SS\&amp;quot;Z\&amp;quot;\&amp;#039;)&amp;#039;), &amp;#039;chapters.name&amp;#039;, Arel.sql(&amp;#039;CASE WHEN chapters.inactive_at IS NULL THEN \&amp;#039;Active\&amp;#039; ELSE \&amp;#039;Inactive\&amp;#039; END&amp;#039;), Arel.sql(&amp;#039;TO_CHAR(funded_on, \&amp;#039;YYYY-MM-DD\&amp;#039;)&amp;#039;), Arel.sql(&amp;#039;TO_CHAR(funded_on, \&amp;#039;YYYY-MM\&amp;#039;)&amp;#039;)).each { |p| puts p.join(%Q(\t)) }&amp;quot;&lt;/div&gt;</summary>
		<author><name>Jcn</name></author>
		
	</entry>
</feed>