
Create an example json query string
example_json_query.Rd
Create an example json query string for use in examples and tests
Examples
example_json_query() |> cat()
#> {
#> "criteria": {
#> "and": [
#> {
#> "timePeriods": {
#> "in": [
#> {
#> "period": "2025",
#> "code": "W3"
#> }
#> ]
#> }
#> },
#> {
#> "or": [
#> {
#> "and": [
#> {
#> "geographicLevels": {
#> "eq": "REG"
#> }
#> },
#> {
#> "locations": {
#> "in": [
#> {
#> "level": "REG",
#> "code": "E12000001"
#> }
#> ]
#> }
#> }
#> ]
#> },
#> {
#> "and": [
#> {
#> "geographicLevels": {
#> "eq": "REG"
#> }
#> },
#> {
#> "locations": {
#> "in": [
#> {
#> "level": "REG",
#> "code": "E12000002"
#> }
#> ]
#> }
#> }
#> ]
#> }
#> ]
#> },
#> {
#> "and": [
#> {
#> "filters": {
#> "in": [
#> "P9Aeb",
#> "VPw5X"
#> ]
#> }
#> },
#> {
#> "filters": {
#> "in": [
#> "rbyNj",
#> "GBMgr"
#> ]
#> }
#> },
#> {
#> "filters": {
#> "in": [
#> "5ezdi"
#> ]
#> }
#> }
#> ]
#> }
#> ]
#> },
#> "indicators": [
#> "X9fKb"
#> ],
#> "debug": false,
#> "page": 1,
#> "pageSize": 1000
#> }