Skip to main content

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()

Download files

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

Source Distribution

lmt-india-covid19-risk-assessment-1.0.0.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

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

File metadata

  • Download URL: lmt-india-covid19-risk-assessment-1.0.0.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/47.3.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.1

File hashes

Hashes for lmt-india-covid19-risk-assessment-1.0.0.tar.gz
Algorithm Hash digest
SHA256 afc04d69204123458f1ea1c493ca13f2562cc05bf2f094ff316deda9f37e8b5d
MD5 ef8826c41ae01bd3417d85df610c24cc
BLAKE2b-256 4a764c6ce2bb753cae324c72bfcccd532ede3aa8fe0fb8b40639639e0be34f01

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lmt_india_covid19_risk_assessment-1.0.0-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/47.3.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.1

File hashes

Hashes for lmt_india_covid19_risk_assessment-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c3354c635078bec345be49619b059a946532f9e3f883d7c0aac9e93d0b35492b
MD5 ff7085fd41af857a19ee3bd11c21a96f
BLAKE2b-256 cdb1919ab860faf93f7c894836dd8a60daee9d3935b05e810750faa1c0133769

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page