Formior: Extract all results of a given resource or form

Description Usage Arguments Format Examples

Description

This function allows you to express your love of cats.

Usage

1

Arguments

base_url

Base formio URL

resource_path

Name of the path of the form ie: 'user'.

token

The formio token to allow access

filter

The list of filters

filter

The list of items to include in the select

filter

The list of items to include in the select

filters

the list of filters

select

the list of select

limit

the limit for the query

resources

the populate resources for the query

size

Number of elements on each call

Format

An object of class R6ClassGenerator of length 24.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
Formior()
Sets the proper Filter URL for the GET CALL

Parses the list of filters to a single string
filterToString()
Sets the proper Select URL for the GET CALL

Parses the list of select elements to a single string
selectToString()
Sets the proper Populate URL for the GET CALL

Parses the list of select elements to a single string
selectToString()
Gets the first Query String

Returns the first query string given all the filters, select and limit
getChunkSize()
Gets the first chunk size

Returns the first chunk size depending on the limit and chunks defined
getChunkSize()
Extract all results of a given resource or form

This function pulls the records
get()
Gets the current selection and flattens the dataframe to a single dimension

This function flattens and returns a dataframe.
flatten()
Applies the filters

filter()
Applies the select

select()
Applies the limit to the Query

limit()
Applies the populate to the Query

limit()
Defines how many elements to call each time

limit()

fast-platform/fast-formioR documentation built on May 28, 2019, 11:04 p.m.