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
Release history Release notifications | RSS feed
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
Close
Hashes for lmt-india-covid19-risk-assessment-1.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 651fe06c83ee86f2704ddd9f2f43a51cc837f89565ebe0010d23baf51afb51ac |
|
MD5 | c382664777bec5bd14760c04a41ef9e5 |
|
BLAKE2b-256 | 2e3d11bdea3078cb2efdc61001b2754ed8601b0d280a0eee4fe0225be1f53149 |
Close
Hashes for lmt_india_covid19_risk_assessment-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72e46556cdc03029e193804c5d1e1190196f522677f7653a72229cf20b344b27 |
|
MD5 | 1a7450e2f67d227fe10a9b85844fb5b8 |
|
BLAKE2b-256 | 177680a0f7df454a1007f4e215256e1babc9fe05d85b7644586682077a7316d9 |