Skip to content

Arquivo corrompido #423

@brunomioto

Description

@brunomioto

Atualizei para a v2.0 e tenho tido este erro

library(geobr)

state <- read_state(
  year = 2022,
  code_state = "SE"
)
#> ℹ Using year/date 2022
#> ✖ A file must have been corrupted during download. Please restart your R session and try again.

Created on 2026-05-27 with reprex v2.1.1

Isso acontece com todas funções de download.

As funções de tabela e list_geobr() funcionam normalmente

library(geobr)
library(dplyr)

geobr::grid_state_correspondence_table |> 
  dplyr::tibble()
#> # A tibble: 139 × 3
#>    name_state abbrev_state code_grid
#>    <chr>      <chr>        <chr>    
#>  1 Acre       AC           ID_50    
#>  2 Acre       AC           ID_51    
#>  3 Acre       AC           ID_60    
#>  4 Acre       AC           ID_61    
#>  5 Alagoas    AL           ID_57    
#>  6 Alagoas    AL           ID_58    
#>  7 Amapá      AP           ID_74    
#>  8 Amapá      AP           ID_75    
#>  9 Amapá      AP           ID_84    
#> 10 Amapá      AP           ID_85    
#> # ℹ 129 more rows

geobr::list_geobr() |> 
  dplyr::tibble()
#> # A tibble: 30 × 4
#>    Function                geography                        source         year 
#>    <chr>                   <chr>                            <chr>          <chr>
#>  1 read_amazon             Brazil's Legal Amazon            MMA            2019…
#>  2 read_biomes             Biomes                           IBGE           2006…
#>  3 read_census_tract       Census tract (setor censitário)  IBGE           2000…
#>  4 read_conservation_units Environmental Conservation Units MMA            2024…
#>  5 read_country            Country                          IBGE           1872…
#>  6 read_disaster_risk_area Disaster risk areas              CEMADEN and I… 2010 
#>  7 read_favelas            Favelas and urban communities    IBGE           2022 
#>  8 read_health_facilities  Health facilities                CNES, DataSUS  2017…
#>  9 read_health_region      Health regions and macro regions DataSUS        1991…
#> 10 read_immediate_region   Immediate region                 IBGE           2019…
#> # ℹ 20 more rows

Created on 2026-05-27 with reprex v2.1.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions