Skip to content

Instantly share code, notes, and snippets.

View leonardocerliani's full-sized avatar

leonardo cerliani leonardocerliani

View GitHub Profile
@leonardocerliani
leonardocerliani / R_DuckDB_NYT_data.md
Last active April 22, 2024 19:20
DuckDB example in R with the NYT dataset

Just a few lines to show how to use the NYC TLC Taxi data in a DuckDB database in R.

It is assumed tht you already have some .parquet data in your ./data directory taken from here.

I am using all the data in the period 01-2019 to 07-2021, which is about 120M datapoints.
The aims here are:

  • to show how fast operations are using DuckDB
  • the fact that one can use dplyr verbs to operate on DuckDB - as well as SQL of course
@leonardocerliani
leonardocerliani / remoteAtom.md
Created December 19, 2023 12:09 — forked from NTag/remoteAtom.md
How to install and use remote-atom

Installation

  1. Install Atom on your computer (https://atom.io)

  2. Launch Atom, go in Preferences, then chose Install, search for "remote-atom", and install it

  3. On the distant machine:

    cd ~
    wget https://raw.githubusercontent.com/aurora/rmate/master/rmate
    chmod +x rmate