Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Arcas: Using Python to access open research lit...
Search
Nikoleta
August 30, 2017
Science
190
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Arcas: Using Python to access open research literature
EuroScipy 2017
Nikoleta
August 30, 2017
More Decks by Nikoleta
See All by Nikoleta
A trip to earth science with python as a companion
nikoletav3
0
58
Optimisation of short memory strategies in the Iterated Prisoners Dilemma
nikoletav3
0
62
Testing Research Software
nikoletav3
0
350
Arcas
nikoletav3
0
530
SSI Selection Day
nikoletav3
0
440
SWORDS-03-10-2016
nikoletav3
0
58
PyCon UK 2016
nikoletav3
0
180
Other Decks in Science
See All in Science
AI Agents for Earth Observation
sabman
0
140
J-STAGE全文XML登載必須化について
xspa2012
0
1.7k
因果探索の発展と展望
sshimizu2006
2
1.3k
データベース09: 実体関連モデル上の一貫性制約
trycycle
PRO
0
1.9k
摂理と合理の肉体改造 — AI時代の減量を支える観測・制御・継続
kiyoshi
0
3.8k
20260722【JAWS-UG東京 ランチタイムLT会 #37④】AWS Well-Architectedフレームワークに沿った回答をするAIエージェントを作ってみた
nozakijcom
1
170
JPA2026_NetworkSymposium_Omizu
junkashihara
0
110
人工知能のための哲学塾 ニューロフィロソフィ篇 第一夜 「無著、世親と唯識のはじまり、ニューラルネットワークのはじまり」
miyayou
0
150
「表象」を再定義するー潜在表現解析の落とし穴
ykamit
0
1.2k
知能とはなにか -ヒトとAIのあいだ-
tagtag
PRO
0
260
データベース04: SQL (1/3) 単純質問 & 集約演算
trycycle
PRO
0
1.8k
Wet Active Matter
rajeshrinet
0
270
Featured
See All Featured
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
750
Deep Space Network (abreviated)
tonyrice
0
410
How to train your dragon (web standard)
notwaldorf
96
6.9k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
Believing is Seeing
oripsolob
1
270
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Building Adaptive Systems
keathley
44
3.3k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
630
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.2k
Paper Plane
katiecoart
PRO
5
55k
Technical Leadership for Architectural Decision Making
baasie
3
640
Transcript
Arcas: Using Python to access open research literature @NikoletaGlyn
None
The illustrated guide to a Ph.D. Matt Might http://matt.might.net/articles/phd-school-in-pictures/
None
ARTICLE JOURNAL REVIEW PUBLISHED
Sustainable Software
None
None
0.5min + 100 × 1.5min + 10 × 0.5min =
155.5min ⇒ 2h and 35.5min
API
QUERY http://export.arxiv.org/api/query?search_query=ti: Sustainable%20Software
None
15min + 1min + 50min = 66min ⇒ 1h and
6min
QUERY http://export.arxiv.org/api/query?search_query=ti: Sustainable%20Software
QUERY http://export.arxiv.org/api/query?search_query=ti: Sustainable%20Software http://api.plos.org/search?q=title: Sustainable%20Software&rows=100
QUERY http://export.arxiv.org/api/query?search_query=ti: Sustainable%20Software http://api.plos.org/search?q=title: Sustainable%20Software&rows=100 http: //www.nature.com/opensearch/request?queryType=cql&query= dc.title%20adj%20SustainableSoftware&maximumRecords=100 ...
API1 Query XML API2 Query XML API3 Query XML API4
Query XML API5 Query XML API6 Query XML
ARCAS API1 Query XML API2 Query XML API3 Query XML
API4 Query XML API5 Query XML API6 Query XML
$ pip install arcas
>>> import arcas >>> api = arcas.Arxiv() >>> parameters =
api.parameters_fix( ... title=’sustainable software’, records=1, start=1) >>> url = api.create_url_search(parameters) >>> request = api.make_request(url) >>> root = api.get_root(request) >>> raw_article = api.parse(root) >>> article = api.to_dataframe(raw_article[0]) >>> api.export(article, "result.json")
{"key":{"0":"Ahern2013"}, "unique_key":{"0":"698d27415f69258ef122f46b184a77e0"}, "title":{"0":"VisIt: Experiences with Sustainable Software"}, "author":{"0":"Sean Ahern","1":"Eric Brugger"},
"abstract":{"0":" The success of the VisIt visualization..."}, "date":{"0":2013}, "journal":{"0":"arXiv"}, "provenance":{"0":"arXiv"}}
>>> for p in [arcas.Arxiv, arcas.Nature, arcas.Ieee, arcas.Plos]: ... api
= p() ... parameters = api.parameters_fix( ... title=’sustainable software’, records=1, start=1) ... url = api.create_url_search(parameters) ... request = api.make_request(url) ... root = api.get_root(request) ... raw_article = api.parse(root) ... try: ... for art in raw_article: ... article = api.to_dataframe(art) ... api.export(article, "result_from_{}.json".format( ... api.__class__.__name__)) ... except TypeError: ... pass
15min + 5min = 20min
2000 2002 2004 2006 2008 2010 2012 2014 2016 2018
year 2 4 6 8 10 12 14 16 number of records Articles per Year (N=87)
2000 2002 2004 2006 2008 2010 2012 2014 2016 year
0.0 2.5 5.0 7.5 10.0 12.5 15.0 17.5 20.0 number of records Provenance IEEE arXiv PLOS
None
Birgit Penzenstadler
Arcas tools.py doc/ arcas.readthedocs.io/ ieee nature arxiv . . .
test ieee test nature test arxiv . . .
$ arcas_scrape --version Arcas 0.0.3 $ arcas_scrape -p arxiv -t
"Sustainable Software" -r 1 http://export.arxiv.org/api/query?search_query=ti:Sustainable Software&max_results=1&start=1
@NikoletaGlyn https://github.com/ArcasProject/Arcas https://nikoleta-v3.github.io