Skip to Main Content

page_parts

Science

CASRN
Generate a valid CASRN (Chemical Abstract Service Registry Number).
Function name(s):
casrnscience_random.r_casrn
Locales supported:
Not a locale specific domain.
Parameters:
Name Type Bound Input Description
Example output:
{
    "CASRN": {
            "r_casrn": "10431-23-9"
        }
}
Chemical element
An element from the table elements.
Function name(s):
chemical_elementscience_random.r_chemicalelement
Locales supported:
Not a locale specific domain.
Parameters:
Name Type Bound Input Description
shortform Text [No,Yes] Shortform (Lithium/Li)
Example output:
{
    "Chemical element": {
            "r_chemicalelement": "Nihonium"
        }
}
Electrical Component
Translate a string with placeholders for numerical and characters.
Function name(s):
electrical_componentscience_random.r_electrical_component
Locales supported:
Parameters:
Name Type Bound Input Description
country Text ISO 2 letter country code
Example output:
{
    "Electrical Component": {
            "r_electrical_component": "LEC"
        }
}
GSC2
a GSC2 compatible star ID.
Function name(s):
gsc2science_random.r_gsc2id
Locales supported:
Not a locale specific domain.
Parameters:
Name Type Bound Input Description
Example output:
{
    "GSC2": {
            "r_gsc2id": "S0000024600"
        }
}
NGC
a NGC compatible galaxy designation ID.
Function name(s):
ngcscience_random.r_ngcgalaxy
Locales supported:
Not a locale specific domain.
Parameters:
Name Type Bound Input Description
Example output:
{
    "NGC": {
            "r_ngcgalaxy": "NGC1526"
        }
}
Planet
Planet name from our solar system.
Function name(s):
planetscience_random.r_planet
Locales supported:
Not a locale specific domain.
Parameters:
Name Type Bound Input Description
Example output:
{
    "Planet": {
            "r_planet": "Mercury"
        }
}
Scale
Size scale, like 1:1000.
Function name(s):
scalescience_random.r_scale
Locales supported:
Not a locale specific domain.
Parameters:
Name Type Bound Input Description
Example output:
{
    "Scale": {
            "r_scale": "1:500"
        }
}
Tree
Tree type.
Function name(s):
treescience_random.r_tree
Locales supported:
Parameters:
Name Type Bound Input Description
Example output:
{
    "Tree": {
            "r_tree": "Rottnest Island pine"
        }
}
Unit Long
Long form of a measurement unit.
Function name(s):
unit_longscience_random.r_unit_measure_long
Locales supported:
Not a locale specific domain.
Parameters:
Name Type Bound Input Description
unit_measure_short Text The shortform of the wanted unit type.
Example output:
{
    "Unit Long": {
            "r_unit_measure_long": "Kiloton"
        }
}
Unit Short
Short form of a measurement unit.
Function name(s):
unit_shortscience_random.r_unit_measure_short
Locales supported:
Not a locale specific domain.
Parameters:
Name Type Bound Input Description
Example output:
{
    "Unit Short": {
            "r_unit_measure_short": "M"
        }
}

Anchor Points

On this page

  • CASRN
  • Chemical element
  • Electrical Component
  • GSC2
  • NGC
  • Planet
  • Scale
  • Tree
  • Unit Long
  • Unit Short