Skip to content

Latest commit

 

History

History
80 lines (49 loc) · 2.71 KB

README.md

File metadata and controls

80 lines (49 loc) · 2.71 KB

banner

Version 1.0.0

Created by Graham Waters

GitHub issues GitHub release (latest by date) GitHub last commit GitHub stars GitHub forks

ViewCount

Table of Contents

Description

This simple tool scrapes drug names from druginfo.nlm.nih.gov using bs4 and requests.

This script is designed to pull drug names from the website and return a pandas dataframe for use in various applications. I am not responsible for any misuse of this script. It implements a sleeping time to limit the rate of requests to the website.

Usage

from drug_scraper import DrugScraper
ds = DrugScraper()
df = ds.get_drug_names()

License

This project is licensed under the ${data.license} license.

Contributing

${data.contributing}

Tests

To run tests, run the following command:

${data.tests}

Questions

See my profile for contact information.

Instructions

Scrapes Drug names from druginfo.nlm.nih.gov using bs4 and requests.

This script is designed to pull drug names from the website and return a pandas dataframe for use in various applications. I am not responsible for any misuse of this script. It implements a sleeping time to limit the rate of requests to the website.

Repositories that we hope to integrate with in the future

  1. https://github.com/mlbernauer/drugstandards