GithubHelp home page GithubHelp logo

Comments (3)

muschellij2 avatar muschellij2 commented on July 21, 2024

Can you please submit a reprex: https://reprex.tidyverse.org/?

from rscopus.

mgirdwood7 avatar mgirdwood7 commented on July 21, 2024

Sorry, of course, see below.

I also discovered another issue where there is a problem with the bibkey if the lead author has multiple surnames or a space in their name, as it generates a space in the bibkey. Second example in my reprex shows it

library(rscopus)

# This is the doi of an example result that caused the issue
example <- abstract_retrieval(id = "10.1177/18333583221090579", identifier = "doi")
#> HTTP specified is:https://api.elsevier.com/content/abstract/doi/10.1177/18333583221090579

bib <- bibtex_core_data(example)

# first 100 characters shows the error
print(substr(bib, 1, 100))
#> [1] "@article{Goff2023Comprehensiveness,osteoarthritis,\nauthor = {Anthony J Goff and Christian J Barton a"

###
# Example of the author with multiple surnamesnames/spaces issue
example2 <- abstract_retrieval(id = "10.1136/bmjopen-2022-068040", identifier = "doi")
#> HTTP specified is:https://api.elsevier.com/content/abstract/doi/10.1136/bmjopen-2022-068040
bib <- bibtex_core_data(example2)
print(substr(bib, 1, 100))
#> [1] "@article{De Oliveira Silva2023Trajectoryprotocol,\nauthor = {Danilo De Oliveira Silva and Richard T. "

Created on 2024-01-29 with reprex v2.0.2

from rscopus.

muschellij2 avatar muschellij2 commented on July 21, 2024

Should be fixed - thanks.

from rscopus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.