Code
import requests
import locale
import re
from typing import Optional
import datetime
from IPython.display import Markdown
"en_US")
locale.setlocale(locale.LC_ALL, = "https://api.rogue-scholar.org/"
baseUrl = "2023-11-22"
published_since = "2023-11-28"
published_until = 0
feature_image = "title,authors,published_at,summary,blog_name,blog_slug,doi,url,image"
include_fields = (
url
baseUrl+ f"posts?&published_since={published_since}&published_until={published_until}&language=en&sort=published_at&order=asc&per_page=50&include_fields={include_fields}"
)= requests.get(url)
response = response.json()
result
def get_post(post):
return post["document"]
def format_post(post):
= post.get("doi", None)
doi = f"[{doi}]({doi})\n<br />" if doi else ""
url = f"[{post['title']}]({doi})" if doi else f"[{post['title']}]({post['url']})"
title = datetime.datetime.utcfromtimestamp(post["published_at"]).strftime(
published_at "%B %-d, %Y"
)= f"[{post['blog_name']}](https://rogue-scholar.org/blogs/{post['blog_slug']})"
blog = ", ".join([f"{x['name']}" for x in post.get("authors", None) or []])
author = post["summary"]
summary return f"### {title}\n{url}Published {published_at} in {blog}<br />{author}<br />{summary}\n"
= [get_post(x) for i, x in enumerate(result["hits"])]
posts = "\n\n".join([format_post(x) for x in posts])
posts_as_string
def doi_from_url(url: str) -> Optional[str]:
"""Return a DOI from a URL"""
= re.search(
match r"\A(?:(http|https)://(dx\.)?(doi\.org|handle\.stage\.datacite\.org|handle\.test\.datacite\.org)/)?(doi:)?(10\.\d{4,5}/.+)\Z",
url,
)if match is None:
return None
return match.group(5).lower()
= [x["image"] for x in posts if x.get("image", None) is not None]
images = images[feature_image]
image = f"![]({image})\n\n"
markdown += posts_as_string
markdown Markdown(markdown)
UK Covid Inquiry: EOHO, Hate to Say We Told You So
https://doi.org/10.59350/ckhj4-ty439
Published November 22, 2023 in Everything is Connected
Ernesto Priego
Eat Out to Help Out reversed social distancing guidance and contributed to a second Covid wave. Hate to say we told you so.
Rogue Scholar updates: GUIDs and fields of science
https://doi.org/10.53731/fy5gh-g0w69
Published November 22, 2023 in Front Matter
Martin Fenner
The Rogue Scholar science blog archive launched two new features today: GUIDs (globally unique identifiers) and support for OECD Fields of Science and Technology. Globally unique identifiers (GUIDs) GUIDs are used to globally identify a blog post and are part of the RSS, Atom, and JSON Feed specifications.
JSTOR generative AI pilot - Or is Semantic Search coming for academic databases?
https://doi.org/10.59350/d6m23-vk771
Published November 22, 2023 in Aaron Tay’s Musings about librarianship
Aaron Tay
A decade ago in 2012, I observed how the dominance of Google had slowly affected how Academic databases and OPACs/ catalogues (now discovery services) work.
Introducing the CWTS Focal Area Engagement and Inclusion: A vision and roadmap
Published November 23, 2023 in Leiden Madtrics
Leiden Madtrics
The new Focal Area Engagement & Inclusion at CWTS aims to create a more diverse, inclusive and engaging science ecosystem. This blogpost introduces our main vision and roadmap for the future. We welcome any person or organisation interested in these topics to reach out to us!To develop our CWTS knowledge agenda we formed three focal areas at the start of this year to organise our activities.
rOpenSci News Digest, November 2023
https://doi.org/10.59350/e961a-yxp83
Published November 24, 2023 in rOpenSci - open tools for open science
The rOpenSci Team
Dear rOpenSci friends, it’s time for our monthly news roundup! You can read this post on our blog.Now let’s dive into the activity at and around rOpenSci!rOpenSci HQ Giving season: consider donating to rOpenSci This Giving Season consider donating to rOpenSci to support our mission of empowering Open Science.
Rogue Scholar updates: documentation and comments
https://doi.org/10.53731/7qcr3-0m590
Published November 24, 2023 in Front Matter
Martin Fenner
Shortly following an update earlier this week, the Rogue Scholar science blog archive has updated or added two features today: better documentation and new comments.Documentation The Rogue Scholar documentation site was launched with the service but hasn’t seen any updates in several months. Today I updated the platforms page, explaining what blogging platforms are used by the blogs participating in Rogue Scholar and how they are integrated.
Book Review: Working Backwards
https://doi.org/10.59350/16tt5-31h26
Published November 25, 2023 in Corin Wagen
Corin Wagen
I took a pistol course in undergrad, and while I was a poor marksman I enjoyed the experience. In particular, I was surprised by how meditative the act of shooting was. As our instructor explained, much of good shooting comes down to not doing anything when you pull the trigger.
A new revolutionary workflow for a unified collection of citations: say hello to the OpenCitations Index
https://doi.org/10.59350/r0rjh-a4885
Published November 27, 2023 in OpenCitations blog
Chiara Di Giambattista
Blog post by Ivan Heibi (University of Bologna), Arianna Moretti (University of Bologna) and Chiara Di Giambattista (University of Bologna). In the past five years, the OpenCitations data has been enriched with numerous new indexes of open citation data from different sources.
A simple, old-school paper about bifurcated cervical ribs
https://doi.org/10.59350/wm7d1-tb814
Published November 27, 2023 in Sauropod Vertebra Picture of the Week
Mike Taylor
Everybody() knows that the turiasaurian sauropod Moabosaurus has bifurcated cervical ribs: it was all anyone was talking about back when that animal was described (Britt et al. 2017). We’ve featured the best rib here before, and here it is again: () All right, but you know what I mean.
Our 2022 emission estimates
https://doi.org/10.59350/p4e8v-kmt48
Published November 28, 2023 in Liberate Science
Liberate Science
The climate crisis demands immediate action, in order to prevent every bit of warming we can. Organizations are big emitters, because they consume, spend, and grow — a lot. All of those economic activities are strongly coupled with emissions. We do our emission assessments because that information is key to taking informed action. Our previous assessments in 2019, 2020, and 2021 already influenced our equipment policy and event policy.
FAIR Data Digest #22
https://doi.org/10.59350/ph09x-ncj11
Published November 28, 2023 in FAIR Data Digest
Sven Lieber
How I solved data integration performance problems by rewriting SPARQL queries or changing the approach. Food for thought that might help you too!
What dorsal processes on cervical ribs tell us about neck muscles and their functions
https://doi.org/10.59350/ehs80-z5462
Published November 28, 2023 in Sauropod Vertebra Picture of the Week
Matt Wedel
Here are some cervical ribs of sauropods that show a spectrum of morphologies, from a low dorsal process that makes an obtuse angle with the shaft of the rib in Dicraeosaurus (upper right), to one that makes a right angle in Brontosaurus (center), to a prominent spike of bone in Apatosaurus (bottom left), to a […]