From 01d0a5a55d80019fcea607f2a9b1bdae3bb3248f Mon Sep 17 00:00:00 2001 From: Oliver Kennedy Date: Sun, 16 Jul 2017 20:10:58 -0400 Subject: [PATCH] tweaks --- Rakefile | 9 +++++++++ db/publications.json | 14 +++++++++++++- 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 8fbbaab7..0251ed22 100644 --- a/Rakefile +++ b/Rakefile @@ -217,4 +217,13 @@ file "artifacts/oracle_papers.txt" => [ $db.files, "artifacts", "Rakefile" ].fla map { |record| "> #{record.join("\n ")}" }. join("\n\n") end +end + +file "artifacts/nsf_merit_blurb.txt" => [ $db.files, "artifacts", "Rakefile" ].flatten do + # File.open("artifacts/nsf_related_blurb.txt", "w+") do |fh| + citable_pubs = + $db["publications"] + .where { |pub| pub.fetch("grants_cited", []).index { |grant| /NSF/ =~ grant.fetch("agency", "") } } + citable_pubs.each { |pub| puts pub["title"] } + # end end \ No newline at end of file diff --git a/db/publications.json b/db/publications.json index a873563a..11d766d5 100644 --- a/db/publications.json +++ b/db/publications.json @@ -1,4 +1,11 @@ [ + { + "title" : "Interactive Data Management and Data Analysis", + "authors" : ["Ying Yang"], + "venue" : "UB-PhD", + "year" : 2017, + "projects" : ["mimir"] + }, { "title" : "Beta Probabilistic Databases: A Scalable Approach to Belief Updating and Parameter Learning", "authors" : [ @@ -13,7 +20,12 @@ "urls" : { "paper" : "http://odin.cse.buffalo.edu/papers/2017/SIGMOD-BetaPDBs-final.pdf", "video" : "https://youtu.be/CbTaDRdTG7s?t=2m56s" - } + }, + "grants_cited" : [ + { "agency" : "NSF: CISE: SaTC", "agency_id" : "1409551" }, + { "agency" : "Oracle University Relations", "start_date" : "05/2016" }, + { "agency" : "The US Naval Postgraduate School", "agency_id" : "N00244-16-1-0022" } + ] }, { "title" : "Small Data (Panel Discussion)",