PolMine / dbpedia

R Wrapper for Corpus Annotation with DBpedia Spotlight
3 stars 0 forks source link

Consider using httr2 #54

Open ChristophLeonhardt opened 5 months ago

ChristophLeonhardt commented 5 months ago

Currently we are using the httr package to interact with the DBpedia Spotlight API. This works fine and in the current scenario, it does not seem necessary to change that, but I saw that httr2 was released at the end of last year. It seems to have some interesting features, so it might be worth having a look at some point (for example considering #53).

As the authors state in an accompanying blog post, httr will be maintained (https://www.tidyverse.org/blog/2023/11/httr2-1-0-0/), so there is no rush to switch to httr2 if we choose to do so.

ablaette commented 4 months ago

This is an explanation of the differences: https://httr2.r-lib.org/ It seems reasonable to perform the transition!