Giter Club home page Giter Club logo

cleancode's People

Contributors

accakut avatar alfo avatar bitdeli-chef avatar brainstorm avatar ctesniere avatar dacamo76 avatar dannixon avatar dannyvankooten avatar diegocaro avatar dzyr avatar icyflame avatar jabhishek avatar jaimeiniesta avatar jakubnabrdalik avatar japh avatar javiercejudo avatar jdh8 avatar jhubert avatar jimjh avatar kevinwang avatar konklone avatar maribezler avatar mmistakes avatar nerian avatar rmhogervorst avatar sandeep avatar sandeepc avatar trhodeos avatar tuix avatar xuv avatar

Watchers

 avatar  avatar  avatar  avatar

cleancode's Issues

bugs in post 2 of from spss to r

Had nog een paar dingetjes die bij mij niet werkten, mocht je die nog willen aanpassen voor een niet-beta versie:

  •      In sommige van de voorbeeldscriptjes staat nog een ‘r’ voordat het scriptje begint. Op het moment dat deelnemers die mee kopiëren werkt het script niet
    
  •      sapply(wo2015, class) head(wo2015) staat nu achter elkaar, maar moeten op een andere regel omdat het om twee verschillende commands gaat -> misschien dat in de tekst duidelijker maken?
    
  •      Attributes (wo2015$OPLEIDINGSVORM) geeft mij als uitkomst ‘NULL’. Attributes(wo2015[1,2]) werkt wel.
    
  •      Wanneer ik wo2015$OPLEIDINGSFASE.ACTUEEL <- as_factor(wo2015$OPLEIDINGSFASE.ACTUEEL) intyp krijg ik als error: ‘Error in sort.list(y): invalid input 'initiële opleiding' in 'utf8towcs'’
    
  •      Ik krijg steeds foutmeldingen als ik opleidingsfase.actueel2 wil gebruiken in een van de scripts, en als ik in het SPSS bestand kijk zit die er ook helemaal niet tussen, kan het zo zijn dat je gewoon actueel bedoelde ipv actueel2?
    

o Als ik ‘actueel’ gebruik lukt het me wel om het laatste script te runnen, maar het groupen op meerdere levels met meerdere arguments (een-na-laatste opdracht) lukt nog steeds niet.

rstudio ide

  • rstudio tips ('####' ) and other double things section
  • New things in Rstudio tearing up and stuff

change word count with special thing about lines of code.

http://blog.jupo.org/2013/05/05/sandboxed-jekyll-hacks/ for instance:

<ul>
{% for post in site.posts %}
    {% assign post_words = 0 %}
    {% assign lines = post.content|split:'pre>' %}
    {% for line in lines %}
        {% assign mod = forloop.index|modulo:2 %}
        {% assign line_words = line|strip_html|number_of_words|times:mod %}
        {% assign post_words = post_words|plus:line_words %}
    {% endfor %}
    <li><a href="{{ post.url }}">{{ post.title }}</a>({{ post_words }} words)</li>
{% endfor %}
</ul>

tools for basic post

devtools:: session_info() locale, active packages, versions. R version , windows 10 64 bit.

Other relative links.

Tag small posts (one paragraph) with R6

THIS IS A TEMPLATE, IF YOU DON'T HAVE AN ISSUE WITH THE WEBSITE
OR SOMETHING ELSE YOU CAN DELETE EVERYTHING AND TYPE WHAT YOU WANT.
I MEAN, YOU CAN ALWAYS DO WHAT YOU WANT, I'M A TEMPLATE, NOT A POLICEMAN.
Hi Roel,

I saw your post on rmhogervorst.nl/cleancode / r-bloggers,

THIS IS WHERE YOU WRITE DOWN WHERE I SCREWED UP, MADE A TYPO OR WHAT EVER.

IF YOU HAD AN ERROR FOLLOWING A TUTORIAL

I tried to [what you wanted to do]
by doing the followings steps
[steps]

But it didn't work/ it failed miserably/ It broke my computer and my life's work/ etc
This happened:

[error messages, results etc]

I have used version
[in rstudio you can find the version of the package in the packages pane/ or use sessionInfo() for all active packages
or you can use packageVersion("packagename") for the specific version of the package]
with R version [ version]
on a windows / mac / linux / freebsd / solaris, etc computer.

progression from script to package

scripts, scripts in 1 keer uitvoeren als functie -> opdelen in logische partities -> je functies algemener maken - functies in package

suggestion for "Plotting a map with ggplot2, color by tile"

H(o)i Roel,

I saw your nice post about maps on rbloggers. I especially liked the way you introduced SpatialPolygonsDataFrames.

Just wanted to let you know I wrote a package for visualizing maps, called tmap (https://github.com/mtennekes/tmap), that turned out to be pretty ambitious. It works like gglot2, but overcomes some of drawbacks. Here's a little example:

library(tmap)
data(NLD_muni, data(NLD_prov)

tm_shape(NLD_muni) +
  tm_polygons("population", convert2density=TRUE) +
tm_shape(NLD_prov) +
  tm_borders(lwd=2)

# interactive mode
tmap_mode("view")
last_map()

If you have any questions or suggestions, please let me know.

Best,
Martijn

change stories so that three categories exist: tutorials, clarification, reminder

Tips om over na te denken, voor schrijven blogpost, er zijn 3 verschillende manieren hoe mensen het web gebruiken voor programmeren, uitleg (tutorials, just in time learning), clarification (begrijpen het het werkt in een andere taal) en reminder (als hulpstukje om naar terug te gaan voor gebruik). Andere dingen: veel tekst is niet handig, slaan ze vaak over. willen graag uitproberen. ref: "Two studies of opportunistic programming: interleaving web foraging, learning, and writing code " in zotero onder programming

Nse post update

Create post updated nse with dplyr for version 6.
Intro: Link back to old post. And to the suggestions.

Main part: per verb
Select, filter, rename, group by, summarize.
Old way NSE, other package, new style NSE

Conclusions: new style programming is probably better.

Re: "Plotting a map with ggplot2, color by tile"

I've been trying to use shapefiles and plot maps for quite a while. This is the first time I really rolled my sleeves up. Your codes worked smoothly. Thank you for sharing.

I have a question about some of the details you used in your workflow. Hope you could give some advices.

Excluding inland waters
You removed lakes by excluding their names, which is convenient only if one knows and the data provide the lake names. Besides, there are also rivers (canals in NL?) in land. Fortunately there are shapefiles for waters that I can find online, which, like the land maps, provide polygon info for inland waters. If I cover the waters polygons in front of land polygons, with different color, it looks nice. Thing is, the waters polygons do not include administrative information, which is understandable since a river can cross many places. But when I try to plot a map for the land and waters of an individual province, I can not exclude waters from other provinces. This makes the whole picture much larger than the specific province which I intend to plot. Do you have any suggestion on this?

Thank you.

lesson 1 has link error and some text errors

there are a gazillion really great courses( see below 1, 2, 3, 4). link to own courses...

The goal of these three lessons <- there are 4

very useful shell around R <- could change the wording

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.