Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New IDP class and new distribution methods for generating links #17

Open
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

Tyler-Owen-Morris
Copy link
Contributor

This pull request introduces a new ImportedDataProject class and 2 new distribution methods for generating unique links.

Imported Data Project class includes these new methods.

  • Get IDP schema method that returns the fields and types
  • add columns to idp
  • add single record to idp
  • get single record from idp
  • delete record from idp
  • add many records to idp
  • get data from idp

New methods on Distributions class:

  • generate individual survey link for single contact
  • generate many links from pandas dataframe

Major, potentially breaking change! variable path added to returned URL for xm=True when calling self.header_setup() method. This seems to make sense for consistency rather than adding the path manually after generating the directory base url - the path parameter should be able to be combined as well. I don't think this breaks any of the existing directory methods, but it could have consequences in methods I didn't test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant