FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
A Regulatory Analysis Dashboard for Fast Searching NITE CHRIP Data using FTS5
NewsProgramming Languages

A Regulatory Analysis Dashboard for Fast Searching NITE CHRIP Data using FTS5

via Dev.to Pythonsoy1d ago

NITE CHRIP Data Conversion Regulatory data provided by the Chemical Substance Risk Information Platform (CHRIP) is published in XML format. In this project, we designed a process to convert this data to CSV format and then import it into FTS5. import xml.etree.ElementTree as ET import pandas as pd def xml_to_csv ( xml_path , output_csv ): tree = ET . parse ( xml_path ) root = tree . getroot () records = [] for item in root . findall ( ' item ' ): record = { ' cas_number ' : item . find ( ' cas_number ' ). text if item . find ( ' cas_number ' ) is not None else '' , ' substance_name ' : item . find ( ' substance_name ' ). text if item . find ( ' substance_name ' ) is not None else '' , ' regulation_id ' : item . find ( ' regulation_id ' ). text if item . find ( ' regulation_id ' ) is not None else '' , ' regulation_text ' : item . find ( ' regulation_text ' ). text if item . find ( ' regulation_text ' ) is not None else '' } records . append ( record ) df = pd . DataFrame ( records ) df

Continue reading on Dev.to Python

Opens in a new tab

Read Full Article
5 views

Related Articles

Palmer Luckey’s retro gaming startup ModRetro reportedly seeks funding at $1B valuation
News

Palmer Luckey’s retro gaming startup ModRetro reportedly seeks funding at $1B valuation

TechCrunch • 19h ago

News

Cakelisp

Lobsters • 20h ago

News

Why octal notation should be used for UTF-8 (and Unicode) (2016)

Lobsters • 20h ago

From WAP to Agent-First: Why the UI Is Becoming Optional
News

From WAP to Agent-First: Why the UI Is Becoming Optional

Medium Programming • 20h ago

News

Solving Regex Crosswords Without Z3

Lobsters • 20h ago

Discover More Articles