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
180
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
54
Optimisation of short memory strategies in the Iterated Prisoners Dilemma
nikoletav3
0
59
Testing Research Software
nikoletav3
0
340
Arcas
nikoletav3
0
510
SSI Selection Day
nikoletav3
0
420
SWORDS-03-10-2016
nikoletav3
0
53
PyCon UK 2016
nikoletav3
0
170
Other Decks in Science
See All in Science
データベース11: 正規化(1/2) - 望ましくない関係スキーマ
trycycle
PRO
0
1.6k
(CVPR2026) Back to Basics: Let Denoising Generative Models Denoise
shumpei777
0
240
Wet Active Matter
rajeshrinet
0
130
Tensor Factorization Meets Deformed Information Geometry: Convex Relaxation under Deformed Algebra
gkazunii
0
120
サンプル対応のない複数遺伝子発現プロファイルに対するテンソル分解型統合解析の要約
tagtag
PRO
0
220
20260220 OpenIDファウンデーション・ジャパン ご紹介 / 20260220 OpenID Foundation Japan Intro
oidfj
0
380
Snowflake HCLS Meet Upヘルスケアユーザー会紹介
ktatsuya
0
120
Cross-Media Technologies, Information Science and Human-Information Interaction
signer
PRO
3
32k
次代のデータサイエンティストへ~スキルチェックリスト、タスクリスト更新~
datascientistsociety
PRO
3
47k
明治薬科大学講義_ビッグデータ解析を支えるデータベース技術とクラウドコンピューティング
ktatsuya
1
140
データベース10: 拡張実体関連モデル
trycycle
PRO
0
1.5k
水耕栽培を始める前に知っておきたい植物の科学
grow_design_lab
0
290
Featured
See All Featured
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
2.2k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
370
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
880
Large-scale JavaScript Application Architecture
addyosmani
515
110k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.5k
Raft: Consensus for Rubyists
vanstee
141
7.6k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.2k
Product Roadmaps are Hard
iamctodd
55
12k
WCS-LA-2024
lcolladotor
0
780
A Modern Web Designer's Workflow
chriscoyier
698
190k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
410
How to Talk to Developers About Accessibility
jct
2
460
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