Title: | Reading Bibliometric Data from Lattes Platform |
---|---|
Description: | A simple API for downloading and reading xml data directly from Lattes <http://lattes.cnpq.br/>. |
Authors: | Marcelo Perlin [aut, cre] |
Maintainer: | Marcelo Perlin <[email protected]> |
License: | GPL-2 |
Version: | 1.5 |
Built: | 2024-11-12 04:11:15 UTC |
Source: | https://github.com/msperlin/getlattesdata |
This function reads zipped files from Lattes, giving as output a list with several dataframes
gld_get_lattes_data_from_zip(zip.files, field.qualis = NULL)
gld_get_lattes_data_from_zip(zip.files, field.qualis = NULL)
zip.files |
A vector with location of zip files downloaded from Lattes website |
field.qualis |
Area of Qualis to get Qualis journal rankings (default equals NULL). Eg. area.qualis <- 'ECONOMIA' |
Returns a list with two components:
A dataframe with information about researchers
A dataframe with information about publications
A dataframe with information about all supervisions
# get files from pkg (you can download from other researchers in lattes website) f.in <- system.file('extdata/3262699324398819.zip', package = 'GetLattesData') # set qualis field.qualis = 'ECONOMIA' # get data l.out <- gld_get_lattes_data_from_zip(f.in, field.qualis = field.qualis ) # print it print(l.out$tpesq) print(l.out$tpublic.published)
# get files from pkg (you can download from other researchers in lattes website) f.in <- system.file('extdata/3262699324398819.zip', package = 'GetLattesData') # set qualis field.qualis = 'ECONOMIA' # get data l.out <- gld_get_lattes_data_from_zip(f.in, field.qualis = field.qualis ) # print it print(l.out$tpesq) print(l.out$tpublic.published)
Reads xml data from lattes zip file
gld_read_zip2(f_zip)
gld_read_zip2(f_zip)
f_zip |
A (single) name of zip file containing a xml file |
A list with several items
f_in <- system.file('extdata/3262699324398819.zip', package = 'GetLattesData') my_l <- gld_read_zip2(f_in) my_l
f_in <- system.file('extdata/3262699324398819.zip', package = 'GetLattesData') my_l <- gld_read_zip2(f_in) my_l