Code Monkey home page Code Monkey logo

Comments (2)

IgorRigolon avatar IgorRigolon commented on August 16, 2024

The dataset should be "energy_generation", not "energy generation". It does work, but throws a lot of warnings:

datazoom.amazonia::load_aneel(dataset = "energy_generation", 
    raw_data = FALSE)
#> Warning: Expecting numeric in O1418 / R1418C15: got '-'
...
#> Warning: Expecting numeric in P25575 / R25575C16: got '-'
#> # A tibble: 25,694 × 21
#>    venture ceg     state source stage origin type  type_of_permission final_fuel
#>    <chr>   <chr>   <chr> <chr>  <chr> <chr>  <chr> <chr>              <chr>     
#>  1 10028   UFV.RS… MS    solar… in_o… solar  sola… registration       solar_rad…
#>  2 10032   UFV.RS… MS    solar… in_o… solar  sola… registration       solar_rad…
#>  3 10033   UFV.RS… MS    solar… in_o… solar  sola… registration       solar_rad…
#>  4 10034   UFV.RS… MS    solar… in_o… solar  sola… registration       solar_rad…
#>  5 10035   UFV.RS… MS    solar… in_o… solar  sola… registration       solar_rad…
#>  6 10036   UFV.RS… MS    solar… in_o… solar  sola… registration       solar_rad…
#>  7 10037   UFV.RS… MS    solar… in_o… solar  sola… registration       solar_rad…
#>  8 10038   UFV.RS… MS    solar… in_o… solar  sola… registration       solar_rad…
#>  9 10039   UFV.RS… MS    solar… in_o… solar  sola… registration       solar_rad…
#> 10 10040   UFV.RS… MS    solar… in_o… solar  sola… registration       solar_rad…
#> # ℹ 25,684 more rows
#> # ℹ 12 more variables: operation_start <chr>, granted_power_kw <dbl>,
#> #   fiscalized_power_kw <dbl>, physical_guarantee_kw <dbl>,
#> #   qualified_generation <chr>, latitude_dd <dbl>, longitude_dd <dbl>,
#> #   validity_start <chr>, validity_end <chr>,
#> #   owner_or_exploration_regime <chr>, sub_basin <chr>, municipalities <chr>

Created on 2023-11-07 with reprex v2.0.2

from datazoom.amazonia.

giuliaimbu avatar giuliaimbu commented on August 16, 2024

The warnings are appearing because there are multiple cells in the excel file from 'https://git.aneel.gov.br/publico/centralconteudo/-/raw/main/relatorioseindicadores/geracao/BD_SIGA.xlsx?inline=false' where there's not a numeric information, only "-".

from datazoom.amazonia.

Related Issues (20)

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.