Skip to content

awalsh17/ravelry_yarns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ravelry_yarns

Data from the ravelry.com yarn database

data

This was assembled as in code/get_data.R. The data was updated last on March 26, 2024.

The resulting csv is data/yarn.csv

There are two additional csv files that have additional data on the yarns:

  • yarn_fibers.csv
  • yarn_attributes.csv

data dictionary

This was assembled in code/make_dictionary.R and can be found in data/yarn_dictionary.csv

name type description
discontinued logical Is the yarn discontinued
gauge_divisor integer The number of inches that equal min_gauge to max_gauge stitches
grams integer Unit weight
id integer Unique identifier for the yarn
machine_washable logical Is the yarn machine washable
max_gauge numeric The max number of stitches that equal gauge_divisor
min_gauge numeric The min number of stitches that equal gauge_divisor
name character Name of the yarn
permalink character The permalink to https://www.ravelry.com/yarns/library/permalink
rating_average numeric The average rating out of 5
rating_count integer
rating_total integer
texture character Texture free text
thread_size character Thread size
wpi integer Wraps per inch
yardage integer
yarn_company_name character
yarn_weight_crochet_gauge character Crochet gauge for the yarn weight category
yarn_weight_id integer Identifier for the yarn weight category
yarn_weight_knit_gauge character Knit gauge for the yarn weight category
yarn_weight_name character Name for the yarn weight category
yarn_weight_ply character Ply for the yarn weight category
yarn_weight_wpi character Wraps per inch for the yarn weight category
texture_clean character Texture with some light text cleaning

TidyTuesday

This data was used for #tidytuesday week 41!

Other ways to work with ravelry data

There is a ravelRy R package!

Example plot

See the explore_yarn.R file to see how to plot the relationship between fiber content and average rating.

About

Data from ravelry.com yarn database

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages