idinsight / surveycto-python Goto Github PK
View Code? Open in Web Editor NEWSurveyCTO Python package
License: MIT License
SurveyCTO Python package
License: MIT License
Hi, this is Max of SurveyCTO support. A user attempted to use this module, but came across an error, and I believe I know the issue: On row 363, it makes this method call:
self.__check_key_and_raise(key)
However, while the "key" parameter is defined in many of the methods in that class, it is not defined in the "__check_json_extraction_params" method. This is causing an error when it calls for that variable on row 363. Let me know if you need more details. Thanks!
Is there a way to get the last spreadsheet form definition xlsx file using pysurveycto?
I want to make the usual stata job in python.
Thanks a lot pysurveycto is great!
The API endpoint being by get_form_definition
method is undocumented on the surveycto docs, the endpoint:
url = f"https://{self.server_name}.surveycto.com/forms/{form_id}/design"
that you use for the method, returns a field named formulasConvertedToStaticValues
as a boolean, could you tell me whether there are any options to receive the formula values as static values instead by passing some argument to this endpoint?
On row 268, there is an invalid date string template:
url_date = quote(oldest_completion_date.strftime("%b %-d, %Y %-I:%M:%S %p"))
This is causing errors when a date is being specified.
While I'm not 100% sure on this, is it supposed to return a Unix time code? That is what is needed for the SurveyCTO REST API. Thanks!
how to export all the data from a server? either using pysurveycto or something else.
So that I do not have to give all the forms ids to get all the data
Im interested to list all form_id/dataset_ids the logged-in user has access to, if thats possible.
** Solved below **
Hey,
I had to make some serious changes to the form where I had to move certain columns into groups. I had expected that with the API call, I'd get the data such that the old columns remain, but the same columns (now in a group) would be added as new columns. However, the old columns get dropped and the old data is not in the new column either. Is there a parameter I'm missing. Please do let me know. Cheers.
P.S. Love the work you've done so far!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.