Code Monkey home page Code Monkey logo

cdr-book.github.io's People

Contributors

gemafaviles avatar ricpdc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

cdr-book.github.io's Issues

Error reproduciendo ejemplos del capítulo 51

Hola. Estoy intentando reproducir los ejemplos del Capítulo 51 Análisis electoral: de RStudio a su periódico favorito. Todo perfecto excepto el último bloque:

map_munis |> left_join(datos_winners_muns) |> mutate(convocatoria = year(convocatoria)) |> ggplot() + geom_sf(aes(fill = winner, alpha = votos_bloque_pc), size = 0.01) + scale_fill_manual(values = colors_bloques) + facet_wrap(~convocatoria, ncol = 1) + labs(title = title, caption = "Fuente: Junta de Andalucía") + coord_sf(label_graticule = "", ndiscr=0) + theme_minimal() + theme(legend.position = "none", plot.title = element_markdown(margin=margin(0,0,10,0)))

Tras correr este código, R me da este error:

Error: Invalid index: field name 'x_start' not found

Ese nombre de campo no aparece por ningún sitio y no acierto a saber donde se produce el error y porqué. Gracias por cualquier pista y felicidades por este magnífico libro.

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.