Wolfram Research

Function Repository Resource:

LengthToShoeSize

Source Notebook

Find the appropriate shoe size in a given system for a wearer given a last/foot length

Contributed by: Paco Jain (Wolfram Research)

ResourceFunction["LengthToShoeSize"]["system","wearer", length]

gives the size of shoe in the given system given a foot/last length and wearer type.

ResourceFunction["LengthToShoeSize"]["Information"]

gives an association of information on the various supported sizing systems.

Details and Options

Allowed values for "system" are "Australia", "Europe", "Japan", "Korea", "Mondopoint", "UnitedKingdom" and "UnitedStates".
Allowed values for "wearer" are "Child", "Female", and "Male".
In the "Korea" and "Mondopoint" systems, sizes are based on wearer foot length. In all other systems, sizes are based on manufacturer last length.
The "Australia" system does not define separate child’s sizes. ResourceFunction["LengthToShoeSize"]["Australia", "Child", length] returns Missing["NotAvailable"].
In ResourceFunction["LengthToShoeSize"]["system","wearer", length], length should be a Quantity expression. If a numeric length is given instead, ResourceFunction["LengthToShoeSize"] assumes the default unit for the given system in accordance with Query["system", "DefaultUnit"][ResourceFunction["LengthToShoeSize"]["Information"]].

Examples

Basic Examples

Find the shoe size appropriate for a given wearer in a specific system:

In[1]:=
ResourceFunction["LengthToShoeSize"]["UnitedStates", "Male", Quantity[12.2, "Inches"]]
Out[1]=
In[2]:=
ResourceFunction["LengthToShoeSize"]["Korea", "Female", Quantity[205, "Millimeters"]]
Out[2]=

Scope

Get information on the various sizing systems:

In[3]:=
ResourceFunction["LengthToShoeSize"]["Information"]
Out[3]=

Applications

Make a table of shoe sizes suitable for a specific wearer in different systems:

In[4]:=
Dataset[AssociationMap[
  Function[
   system, AssociationMap[
    ResourceFunction["LengthToShoeSize"][system, #, Quantity[10, "inches"]] &, {"Child", "Female", "Male"}]
   ],
  {"Australia", "Europe", "Japan", "Korea", "Mondopoint", "UnitedKingdom", "UnitedStates"}
  ]]
Out[4]=

Requirements

Wolfram Language 11.3 (March 2018) or above

Resource History

See Also

License Information