Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Arcas: Using Python to access open research lit...
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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
55
Optimisation of short memory strategies in the Iterated Prisoners Dilemma
nikoletav3
0
62
Testing Research Software
nikoletav3
0
340
Arcas
nikoletav3
0
520
SSI Selection Day
nikoletav3
0
430
SWORDS-03-10-2016
nikoletav3
0
54
PyCon UK 2016
nikoletav3
0
170
Other Decks in Science
See All in Science
[第67回 CV勉強会@関東] CV × Scientific Figures / kantoCV 67th CVPR 2026
lychee1223
0
200
因果探索の発展と展望
sshimizu2006
2
1k
コーヒー豆様核 (Coffee-bean nuclei) における形態学的サブタイピングと精選・焙煎特性の同定
jagupath
PRO
0
160
2026 Introduction to University Math 01
kanaya
0
140
Toward Causal Scientific Discovery with AI
sshimizu2006
0
170
機械学習 - SVM
trycycle
PRO
2
1.2k
Build your own LLM, Live, with MicroGPT
ianozsvald
0
140
共生概念の整理と AIアライメントの構想
hiroakihamada
0
270
Cross-Media Technologies, Information Science and Human-Information Interaction
signer
PRO
3
32k
機械学習 - 決定木からはじめる機械学習
trycycle
PRO
0
1.6k
「念のためのログ保存」を組織全体でやめるためのポリシーと仕組み作り
i2tsuki
4
370
機械学習 - DBSCAN
trycycle
PRO
0
2.1k
Featured
See All Featured
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
580
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Accessibility Awareness
sabderemane
1
200
Fashionably flexible responsive web design (full day workshop)
malarkey
408
67k
What's in a price? How to price your products and services
michaelherold
247
13k
VelocityConf: Rendering Performance Case Studies
addyosmani
331
25k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3k
Bash Introduction
62gerente
615
220k
Building an army of robots
kneath
306
46k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
990
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
400
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
10k
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