Skip to main content

LMT-India COVID-19 Risk Assessment

Project description

lmt-india-covid19-risk-assessment

Defines survey type LmtIndiaCovid19RiskAssessment and response LmtIndiaCovid19Response using coconut

Installation

pip install lmt-india-covid19-risk-assessment

Usage

from coconut import LimeAPI, Workbook
from lmt_india_covid19_risk_assessment import LmtIndiaCovid19RiskAssessment

# Create a LimeAPI instance
lime = LimeAPI(
        url="https://surveys.my-lime-survey-instance.org",
        username="admin",
        password="password"
    )

# Create the survey instance
survey = LmtIndiaCovid19RiskAssessment(survey_id=119618, lime_api=lime)

# Load questions, responses, survey info
survey.load_data()

# Save the data to an Excel file
survey.to_excel("survey.xlsx")

# Save response data to a CSV file
survey.to_csv("survey.csv")

# Update a Google Sheets workbook
workbook = Workbook(
    workbook_id="abc123",
    survey=survey,
    service_account_json_path="google-cloud-creds.json"
)
workbook.sync()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distribution

File details

Details for the file lmt-india-covid19-risk-assessment-1.0.1.tar.gz.

File metadata

  • Download URL: lmt-india-covid19-risk-assessment-1.0.1.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.1

File hashes

Hashes for lmt-india-covid19-risk-assessment-1.0.1.tar.gz
Algorithm Hash digest
SHA256 651fe06c83ee86f2704ddd9f2f43a51cc837f89565ebe0010d23baf51afb51ac
MD5 c382664777bec5bd14760c04a41ef9e5
BLAKE2b-256 2e3d11bdea3078cb2efdc61001b2754ed8601b0d280a0eee4fe0225be1f53149

See more details on using hashes here.

File details

Details for the file lmt_india_covid19_risk_assessment-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: lmt_india_covid19_risk_assessment-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.1

File hashes

Hashes for lmt_india_covid19_risk_assessment-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 72e46556cdc03029e193804c5d1e1190196f522677f7653a72229cf20b344b27
MD5 1a7450e2f67d227fe10a9b85844fb5b8
BLAKE2b-256 177680a0f7df454a1007f4e215256e1babc9fe05d85b7644586682077a7316d9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page