tests/testthat/soc_read/soda.demo.socrata.com/api/views/kc76-ybeq.R

structure(list(method = "GET", url = "https://soda.demo.socrata.com/api/views/kc76-ybeq", 
    status_code = 200L, headers = structure(list(Server = "nginx", 
        Date = "Tue, 22 Jul 2025 20:42:10 GMT", `Content-Type` = "application/json; charset=utf-8", 
        `Transfer-Encoding` = "chunked", Connection = "keep-alive", 
        `Access-Control-Allow-Origin` = "*", Vary = "Accept-Encoding", 
        `Content-Encoding` = "gzip", Age = "0", `X-Socrata-Region` = "aws-us-east-1-fedramp-prod", 
        `Strict-Transport-Security` = "max-age=31536000; includeSubDomains", 
        `X-Socrata-RequestId` = "3e915d51773249d03f5864109db62b93"), class = "httr2_headers"), 
    body = charToRaw("{\n  \"id\" : \"kc76-ybeq\",\n  \"name\" : \"R Socrata Test - Full replace dataset\",\n  \"assetType\" : \"dataset\",\n  \"averageRating\" : 0,\n  \"createdAt\" : 1446387280,\n  \"description\" : \"Test dataset for RSocrata tests to full replace datasets\",\n  \"diciBackend\" : false,\n  \"displayType\" : \"table\",\n  \"downloadCount\" : 239,\n  \"hideFromCatalog\" : false,\n  \"hideFromDataJson\" : false,\n  \"indexUpdatedAt\" : 1545256069,\n  \"locked\" : false,\n  \"newBackend\" : true,\n  \"numberOfComments\" : 0,\n  \"oid\" : 14452134,\n  \"provenance\" : \"official\",\n  \"publicationAppendEnabled\" : false,\n  \"publicationDate\" : 1446388377,\n  \"publicationGroup\" : 5244018,\n  \"publicationStage\" : \"published\",\n  \"rowsUpdatedAt\" : 1558719618,\n  \"tableId\" : 5244284,\n  \"totalTimesRated\" : 0,\n  \"viewCount\" : 281,\n  \"viewLastModified\" : 1446388412,\n  \"viewType\" : \"tabular\",\n  \"approvals\" : [ {\n    \"reviewedAt\" : 1446388377,\n    \"reviewedAutomatically\" : true,\n    \"state\" : \"approved\",\n    \"submissionId\" : 509411,\n    \"submissionObject\" : \"public_audience_request\",\n    \"submissionOutcome\" : \"change_audience\",\n    \"submittedAt\" : 1446388377,\n    \"targetAudience\" : \"public\",\n    \"workflowId\" : 1674,\n    \"submissionDetails\" : {\n      \"permissionType\" : \"READ\"\n    },\n    \"submissionOutcomeApplication\" : {\n      \"failureCount\" : 0,\n      \"status\" : \"success\"\n    },\n    \"submitter\" : {\n      \"displayName\" : \"Deleted User\",\n      \"flags\" : [ \"deleted\" ]\n    }\n  } ],\n  \"clientContext\" : {\n    \"clientContextVariables\" : [ ],\n    \"inheritedVariables\" : { }\n  },\n  \"columns\" : [ {\n    \"id\" : 228263750,\n    \"name\" : \"x\",\n    \"dataTypeName\" : \"number\",\n    \"fieldName\" : \"x\",\n    \"position\" : 1,\n    \"renderTypeName\" : \"number\",\n    \"tableColumnId\" : 32376670,\n    \"width\" : 100,\n    \"cachedContents\" : {\n      \"largest\" : \"317\",\n      \"non_null\" : \"5\",\n      \"average\" : \"488.4\",\n      \"null\" : \"0\",\n      \"top\" : [ {\n        \"item\" : \"112\",\n        \"count\" : \"1\"\n      }, {\n        \"item\" : \"-798\",\n        \"count\" : \"1\"\n      }, {\n        \"item\" : \"185\",\n        \"count\" : \"1\"\n      }, {\n        \"item\" : \"-853\",\n        \"count\" : \"1\"\n      }, {\n        \"item\" : \"317\",\n        \"count\" : \"1\"\n      } ],\n      \"smallest\" : \"-853\",\n      \"not_null\" : \"5\",\n      \"count\" : \"5\",\n      \"sum\" : \"2442\",\n      \"cardinality\" : \"5\"\n    },\n    \"format\" : {\n      \"precisionStyle\" : \"standard\",\n      \"noCommas\" : \"false\",\n      \"align\" : \"right\"\n    }\n  }, {\n    \"id\" : 228263751,\n    \"name\" : \"y\",\n    \"dataTypeName\" : \"number\",\n    \"fieldName\" : \"y\",\n    \"position\" : 2,\n    \"renderTypeName\" : \"number\",\n    \"tableColumnId\" : 32376602,\n    \"width\" : 100,\n    \"cachedContents\" : {\n      \"largest\" : \"663\",\n      \"non_null\" : \"5\",\n      \"average\" : \"189.4\",\n      \"null\" : \"0\",\n      \"top\" : [ {\n        \"item\" : \"-797\",\n        \"count\" : \"1\"\n      }, {\n        \"item\" : \"-93\",\n        \"count\" : \"1\"\n      }, {\n        \"item\" : \"663\",\n        \"count\" : \"1\"\n      }, {\n        \"item\" : \"-58\",\n        \"count\" : \"1\"\n      }, {\n        \"item\" : \"102\",\n        \"count\" : \"1\"\n      } ],\n      \"smallest\" : \"-797\",\n      \"not_null\" : \"5\",\n      \"count\" : \"5\",\n      \"sum\" : \"947\",\n      \"cardinality\" : \"5\"\n    },\n    \"format\" : {\n      \"precisionStyle\" : \"standard\",\n      \"noCommas\" : \"false\",\n      \"align\" : \"right\"\n    }\n  } ],\n  \"grants\" : [ {\n    \"inherited\" : false,\n    \"type\" : \"viewer\",\n    \"flags\" : [ \"public\" ]\n  } ],\n  \"metadata\" : {\n    \"custom_fields\" : {\n      \"Test Metadata\" : {\n        \"Field 1\" : \"\",\n        \"Field 2\" : \"\"\n      },\n      \"API Foundry\" : {\n        \"Type\" : \"\"\n      }\n    },\n    \"rowLabel\" : \"Row\",\n    \"availableDisplayTypes\" : [ \"table\", \"fatrow\", \"page\" ],\n    \"renderTypeConfig\" : {\n      \"visible\" : {\n        \"table\" : true\n      }\n    }\n  },\n  \"owner\" : {\n    \"id\" : \"hn68-w99i\",\n    \"createdAt\" : 1675709239,\n    \"displayName\" : \"Deleted User\",\n    \"screenName\" : \"Deleted User\",\n    \"type\" : \"deleted_user_surrogate\"\n  },\n  \"query\" : { },\n  \"rights\" : [ \"read\" ],\n  \"tableAuthor\" : {\n    \"id\" : \"hn68-w99i\",\n    \"createdAt\" : 1675709239,\n    \"displayName\" : \"Deleted User\",\n    \"screenName\" : \"Deleted User\",\n    \"type\" : \"deleted_user_surrogate\"\n  },\n  \"flags\" : [ \"default\", \"ownerMayBeContacted\", \"restorable\", \"restorePossibleForType\" ]\n}\n"), 
    timing = c(redirect = 0, namelookup = 1.2e-05, connect = 0, 
    pretransfer = 5.2e-05, starttransfer = 0.080709, total = 0.0809
    ), cache = new.env(parent = emptyenv())), class = "httr2_response")

Try the socratadata package in your browser

Any scripts or data that you put into this service are public.

socratadata documentation built on Aug. 8, 2025, 6:08 p.m.