aok / das-boot

A jupyter notebook to scrape sail boat listings to a pandas dataframe for graphing and storing in CSV.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

das-boot

A jupyter notebook to scrape sail boat listings to a pandas dataframe for graphing and storing in CSV.

Scrapes the following sites:

Instructions

  1. Get Jupyter, I suggest miniconda.
  2. conda install libraries, list of imports in the first notebook cell
  3. Open das-boot.ipynb in Jupyter.
  4. Run the whole notebook

Try something like

summary(
    listings(
        'Swan',
        max_year=1990,
        min_loa=12
    )
)

in a new cell.

Calls to listings will generate .csv files of the results, if you prefer continuing in a spreadsheet.

Caveats

This is a web scraper in a notebook; not proper, maintained code. By the time anyone lands here, it's probably broken by changes the websites made.

Hopefully someone wanting the same data can get it faster by fixing this rather than starting from scratch.

About

A jupyter notebook to scrape sail boat listings to a pandas dataframe for graphing and storing in CSV.

License:The Unlicense


Languages

Language:Jupyter Notebook 100.0%