GithubHelp home page GithubHelp logo

getfredata's Introduction

About me

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].

getfredata's People

Contributors

dkgaraujo avatar msperlin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

getfredata's Issues

Erro FREdata

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 <- 2018

download 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.

Zip baixado vazio

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 in purrr::map():
ℹ In index: 1.
ℹ With name: 1.
Caused by error in read_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.
Run rlang::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!

Empresas com S/A - Erro ao salvar .rds

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

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.