Skip to content

yun-cheng/prescribing-in-taiwan

Repository files navigation

Prescribing In Taiwan

Explore Taiwan's drug prescribing trends from 2005 to 2020 with interactive plots and AI-generated analysis.

Visit https://prescribing-in-taiwan.vercel.app/

Feature Highlights

  • Interactive Plots: Engage with dynamic, data-driven visualizations.
  • AI-Generated Analysis: Gain insights with analysis powered by artificial intelligence.
  • Lightning-Fast Navigation and Search: Experience rapid browsing and seamless searching capabilities.

Tech Stack

  • Next.js 14 App Router: Provides server-side rendering for faster page loads.
  • OpenAI Chat Completions: Generates in-depth and insightful analysis.
  • Vercel AI SDK: Enables streaming AI completions for real-time responsiveness.
  • React Markdown: Instantly formats AI-generated analysis into markdown style.
  • Algolia Autocomplete: Provides a fast and efficient search experience.
  • Chart.js: Ideal for creating interactive and informative plots.
  • Jotai: Offers an atomic approach to state management.
  • Material UI & Tailwind CSS: Combines for a sleek and responsive UI design.
  • TypeScript: Enhances development with type safety and improved code quality.
  • ESLint & Prettier: Ensures consistent code quality and formatting.
  • Python Flask: A robust backend framework for generating streaming responses.
  • Firebase Cloud Functions: Provides greater flexibility than Vercel serverless functions in the free tier.
  • Firebase Firestore: Saves AI completions responses to enhance performance and reduce future query costs.
  • Firebase Storage: A reliable solution for storing JSON files.

Data

Data for this project is derived from the National Health Insurance Research Database, which includes over 99% of the Taiwanese population.

More Info

https://www.pleiotropy.co.uk/about/prescribing-in-taiwan/

About

A website showcasing Taiwan's drug prescribing trends through interactive plots and AI-generated analysis.

Resources

Stars

Watchers

Forks