Skip to content

Instantly share code, notes, and snippets.

View putnik's full-sized avatar
🇺🇦
Нет войне!

Sergei Leshchina putnik

🇺🇦
Нет войне!
View GitHub Profile
{
"$schema": "https://vega.github.io/schema/vega-lite/v2.json",
"description": "Population over time.",
"data": {
"values": [
{"year": 1907,"population": 51815},
{"year": 2011,"population": 310956},
{"year": 2017,"population": 269022}
]
},
{
"version": 2,
"width": 700,
"height": 300,
"data": [
{
"name": "table",
"values": [
{"year":1907,"population":51815},
{"year":2011,"population":310956},
@putnik
putnik / data-3.csv
Last active February 14, 2018 23:40 — forked from d3noob/data-3.csv
v4 curve interpolation comparison
date close
1907-01-01 51815
2011-01-01 310956
2017-01-01 269022
@putnik
putnik / wikidata-dump.py
Created July 12, 2016 16:59
Чтение дампа Викиданных на Python
#!/usr/bin/python3
# -*- coding: utf-8 -*-
import ijson
import gzip
f = gzip.open('wikidata-all.json.gz', 'rb')
for item in ijson.items(f, 'item'):
@putnik
putnik / trends_be.py
Created October 14, 2015 20:29
@BeWikiTrends
@putnik
putnik / trends_ru.py
Last active October 14, 2015 20:28
@RuwikiTrends