I'm an associate professor of Finance at EA/UFRGS.
You can find more details about my work at my personal site.
Fell free to reach me at [email protected].
Repository for the developmento of R package GetFREData
I'm an associate professor of Finance at EA/UFRGS.
You can find more details about my work at my personal site.
Fell free to reach me at [email protected].
Professor, espero que esteja bem.
Estou com o seguinte erro:
l_fre <- get_fre_data(companies_cvm_codes = 19615,
fre_to_read = 'last',
first_year = 2020,
last_year = 2020,
cache_folder = tempdir())
Fetching ftp contents
- Reading fre_cia_aberta_2020.zip | no cache found, reading zip file
Found 1 FRE docs to read
Starting Downloads:
-> Company 19615 | fre file 103471 (ver 11) | 2020-01-01Error inpurrr::map()
:
ℹ In index: 1.
ℹ With name: 1.
Caused by error inread_single_fre_zip_file()
:
! Zipped file contains 0 files. This is likelly a problem with the downloaded file. Try running the code again as the corrupted zip file was deleted and will be downloaded again.If the problem persists, my suggestions is to remove the time period with problem.
Runrlang::last_trace()
to see where the error occurred.
Warning message:
In utils::unzip(my_zip_file, exdir = rnd_folder_name, junkpaths = TRUE) :
error 1 in extracting from zip file`
Para qualquer período e empresa que eu tento baixar, o resultado é que o zip não contem arquivos.
O senhor sabe como arrumar?
Obrigado!
Professor, boa tarde.
Está dando erro para empresas que possuem S/A no nome, em vez de S.A., acredito que o R confunde a barra / como se fosse um novo diretório.
PBG
Error in saveRDS(x, con) : não é possível abrir a conexão Além disso: Warning message: In saveRDS(x, con) : não foi possível abrir o arquivo 'gfred_cache/fre_parsed_cache_files/fre_cache_cvm13773_PBG S/A_2019_id93882_ver7.rds': No such file or directory
Vulcabras
Error in saveRDS(x, con) : não é possível abrir a conexão Além disso: Warning message: In saveRDS(x, con) : não foi possível abrir o arquivo 'gfred_cache/fre_parsed_cache_files/fre_cache_cvm11762_VULCABRAS/_2019_id92269_ver5.rds': No such file or directory
Olá! Estou tentando extrair o dados do pacote getFREdata porém ao rodar o comando inicial aparece um erro no console.
Estou usando o R Studio Desktop. Quando rodo no RCloud o comando funciona. Meu computador é MAC e já fiz a instalação do Wget no Terminal.
library(GetFREData)
set options
id_companies <- 23264
first_year <- 2017
last_year <- 2018download data
l_fre <- get_fre_data(companies_cvm_codes = id_companies,
first_year = first_year,
last_year = last_year)
Fetching ftp contents
* Reading fre_cia_aberta_2017.zip
sh: wget: command not found
Error in utils::download.file(url = dl_link, destfile = dest_file, method = "wget", :
'wget' call had nonzero exit status
In addition: Warning message:
In system(paste("wget", paste(extra, collapse = " "), shQuote(url), :
error in running command
Error in if (file.size(dest_file) < 10) { :
missing value where TRUE/FALSE needed
Obrigada pela atenção.
see solution for GetDFPData2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.