massimoaria / bibliometrix

An R-tool for comprehensive science mapping analysis. A package for quantitative research in scientometrics and bibliometrics.
https://www.bibliometrix.org
Other
496 stars 147 forks source link

retriavalByAuthorID #220

Closed joni73 closed 1 year ago

joni73 commented 2 years ago

df <- data.frame(

Searching author's info: HESAMI EBRAHIMError in match(x, table, nomatch = 0L) : 'match' requires vector arguments

id <- c("55347249100") res2=retrievalByAuthorID(id, api_key,country = TRUE)

Query n. 1 Author ID: 55347249100 Error in id: 55347249100 retrieval

0 duplicated documents have been removed Error in $<-.data.frame(*tmp*, "CR", value = NA) : replacement has 1 row, data has 0

M <- res2$M M <- res2$authorDocuments results <- biblioAnalysis(M, sep = ";") Error in rep(NA, dim(M)[1]) : invalid 'times' argument

""""""" packageDescription("bibliometrix") Package: bibliometrix Type: Package Title: Comprehensive Science Mapping Analysis Version: 3.1.4 Authors@R: c(person("Massimo", "Aria", email = "aria@unina.it", role=c("cre","aut")), person("Corrado", "Cuccurullo", email = "cuccurullocorrado@gmail.com", role="aut")) Description: Tool for quantitative research in scientometrics and bibliometrics. It provides various routines for importing bibliographic data from 'SCOPUS' (https://scopus.com), 'Clarivate Analytics Web of Science' (https://www.webofknowledge.com/), 'Digital Science Dimensions' (https://www.dimensions.ai/), 'Cochrane Library' (https://www.cochranelibrary.com/), 'Lens' (https://lens.org), and 'PubMed' (https://pubmed.ncbi.nlm.nih.gov/) databases, performing bibliometric analysis and building networks for co-citation, coupling, scientific collaboration and co-word analysis. License: GPL-3 URL: https://www.bibliometrix.org, https://github.com/massimoaria/bibliometrix, https://www.k-synth.com BugReports: https://github.com/massimoaria/bibliometrix/issues LazyData: FALSE Encoding: UTF-8 Depends: R (>= 3.3.0) Imports: stats, grDevices, bibliometrixData, dimensionsR, dplyr, DT, factoextra, FactoMineR, forcats, ggplot2, ggrepel, igraph, Matrix, plotly, openxlsx, pubmedR, RColorBrewer, readr, readxl, rscopus, shiny, SnowballC, stringdist, stringr, tidyr, tidytext Suggests: knitr, rmarkdown, testthat (>= 2.1.0), shinycssloaders, shinythemes, visNetwork, wordcloud2 RoxygenNote: 7.1.1 NeedsCompilation: no Author: Massimo Aria [cre, aut], Corrado Cuccurullo [aut] Maintainer: Massimo Aria aria@unina.it Packaged: 2021-07-05 12:27:49 UTC; massimoaria Repository: CRAN Date/Publication: 2021-07-05 14:40:05 UTC Built: R 4.1.1; ; 2021-10-15 15:41:06 UTC; unix

-- File: /home/joni/R/x86_64-pc-linux-gnu-library/4.1/bibliometrix/Meta/package.rds

joni73 commented 2 years ago

hi,

This error is most likely due I use institutional token and bibliometrix dose not foward it to rscopus.

inr=inst_token_header("hjhkhkkj") authorsID <- idByAuthor(df, api_key, headers=inr)