Skip to content

Error in download from TSE website #37

@mark-williamson

Description

@mark-williamson

Hi - I'm getting the following error when I run df <- electionsBR::vote_mun_zone_local(2000):

trying URL 'https://cdn.tse.jus.br/estatistica/sead/odsele/votacao_candidato_munzona/votacao_candidato_munzona_2000.zip' Error in download.file(., dados) : cannot open URL 'https://cdn.tse.jus.br/estatistica/sead/odsele/votacao_candidato_munzona/votacao_candidato_munzona_2000.zip'

In addition: Warning message: In download.file(., dados) : URL 'https://cdn.tse.jus.br/estatistica/sead/odsele/votacao_candidato_munzona/votacao_candidato_munzona_2000.zip': status was 'Peer certificate cannot be authenticated with given CA certificates'

Any thoughts on this? I downloaded the package both through CRAN and through Github but got the error both ways. I can navigate to https://cdn.tse.jus.br/estatistica/sead/odsele/votacao_candidato_munzona/votacao_candidato_munzona_2000.zip fine in my regular browser, but there seems to be an issue when running the request through the package.

Any advice is appreciated - thanks for the package!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions