Skip to content

Instantly share code, notes, and snippets.

Avatar
🏡
#StayAtHome

Ramon G. da Silva ramongss

🏡
#StayAtHome
View GitHub Profile
View CDN.md

Upload images to GitHub

  1. Create a new issue on GitHub.

  2. Drag-and-drop an image onto the comment field.

  3. Wait for the upload process to finish.

  4. Copy the URL and use it in your Markdown files on GitHub.

@kzktmr
kzktmr / ggradar.R
Created Apr 4, 2019
Draw a radar chart with ggplot.
View ggradar.R
library(tidyverse)
# http://www.cmap.polytechnique.fr/~lepennec/R/Radar/RadarAndParallelPlots.html
coord_radar <- function (theta = "x", start = 0, direction = 1){
theta <- match.arg(theta, c("x", "y"))
r <- if (theta == "x")
"y"
else "x"
ggproto("CordRadar", CoordPolar, theta = theta, r = r, start = start,
direction = sign(direction),
@turicas
turicas / brasil_io.py
Last active Aug 28, 2021
Exemplo de código para acessar dados do Brasil.IO
View brasil_io.py
import csv
import gzip
import io
import json
from urllib.parse import urlencode, urljoin
from urllib.request import Request, urlopen
class BrasilIO:
@toebR
toebR / eco_river_palette.md
Last active Aug 20, 2020
6 color green-turquoise palette for discrete variables
View eco_river_palette.md

#By Tobias Stalder #August 2020

library(scales)

eco_river_pal <- c("#d0ece7", "#a9dfbf", "#73c6b6", "#27ae60", "#117a65",