Skip to content
New issue

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

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

Already on GitHub? # to your account

Add example of filtering a repeat table #57

Open
lognaturel opened this issue Oct 13, 2023 · 0 comments
Open

Add example of filtering a repeat table #57

lognaturel opened this issue Oct 13, 2023 · 0 comments

Comments

@lognaturel
Copy link
Member

Recommendation from a user:

repeats = client.submissions.get_table(form_id='simple_repeat', table_name='Submissions.observation', filter="$root/Submissions/__system/reviewState ne 'rejected'")

obs_df = pd.json_normalize(data=repeats['value'], sep='/')

obs_df.head(3)
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant