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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | afc04d69204123458f1ea1c493ca13f2562cc05bf2f094ff316deda9f37e8b5d |
|
MD5 | ef8826c41ae01bd3417d85df610c24cc |
|
BLAKE2b-256 | 4a764c6ce2bb753cae324c72bfcccd532ede3aa8fe0fb8b40639639e0be34f01 |
Close
Hashes for lmt_india_covid19_risk_assessment-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3354c635078bec345be49619b059a946532f9e3f883d7c0aac9e93d0b35492b |
|
MD5 | ff7085fd41af857a19ee3bd11c21a96f |
|
BLAKE2b-256 | cdb1919ab860faf93f7c894836dd8a60daee9d3935b05e810750faa1c0133769 |