Skip to content

SubstanceSearch/datamed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

generate the substance list:

cargo run --bin generate_substance_list

fetch and combine data:

cargo run

data structure

    "data source": {
      "name": "",
      "pretty_name": "",
      "aliases": [],
      "categories": [],
      "properties": {
        "summary": "",
        "avoid": "",
        "test_kits": "",
        "half_life": "",
        "warnings": [],
        "note": ""
      },
      "timing": {
        "onset": {
          "<roa>": {
            "value": "",
            "unit": ""
          }
        },
        "duration": {
          "<roa>": {
            "value": "",
            "unit": "hours"
          }
        },
        "aftereffects": {
          "<roa>": {
            "value": "",
            "unit": ""
          }
        }
      },
      "dosage": {
        "routes": {
          "<roa>": {
            "units": "",
            "threshold": null,
            "light": {
              "min": 0,
              "max": 0
            },
            "common": {
              "min": 0,
              "max": 0
            },
            "strong": {
              "min": 0,
              "max": 0
            },
            "heavy": null
          }
        },
        "bioavailability": null
      },
      "effects": [],
      "effects_detailed": [],
      "interactions": {
        "dangerous": [],
        "unsafe": [],
        "caution": []
      },
      "links": {
        "experiences": [],
        "research": [],
        "wikipedia": [],
        "general": []
      },
      "legal_status": {
        "international": ""
      },
      "metadata": {
        "last_updated": "",
        "source_url": "",
        "confidence_score": null
      }
    }

About

substance data aggregator and converter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages