Skip to content

Instantly share code, notes, and snippets.

View benizar's full-sized avatar

Benito Zaragozí benizar

View GitHub Profile
@benizar
benizar / README.md
Last active December 19, 2020 03:43 — forked from tarleb/highlight-author.lua
Filter to highlight some authors in the bibliography

Usage

Define bibliography and family/given name patterns in metadata:

---
bibliography: my-articles.bib
given-name-pattern: Jane
family-name-pattern: Doe
---
@benizar
benizar / airbnb.r
Created June 29, 2018 22:24 — forked from t-andrew-do/airbnb.r
AirBnB Scraping Script
library(stringr)
library(purrr)
library(rvest)
#------------------------------------------------------------------------------#
# Author: Andrew Do
# Purpose: A bunch of utility functions for the main ScrapeCityToPage The goal
# is to be able to scrape up to a specified page number for a given city and
# then to store that information as a data frame. The resulting data frame will
# be raw and will require additional cleaning, but the structure is more or less