SocrataOpenDataQuery

Algorithmia Platform License
apl
· Internet Access

This algorithm has Internet access.

This is necessary for algorithms that rely on external services, however it also implies that this algorithm is able to send your input data outside of the Algorithmia platform.

Run an Example

{
  "results": [
    {
      "employee_name": "Hash, Michael M.",
      "pay_basis": "Per Annum",
      "position_title": "DEPUTY DIRECTOR",
      "employee_status": "Detailee",
      "salary": "179700.00"
    },
    {
      "employee_name": "Love, Timothy P.",
      "pay_basis": "Per Annum",
      "position_title": "POLICY DIRECTOR",
      "employee_status": "Detailee",
      "salary": "179700.00"
    },
    {
      "employee_name": "Axelrod, David M.",
      "pay_basis": "Per Annum",
      "position_title": "ASSISTANT TO THE PRESIDENT AND SENIOR ADVISOR",
      "employee_status": "Employee",
      "salary": "172200.00"
    },
    {
      "employee_name": "Barnes, Melody C.",
      "pay_basis": "Per Annum",
      "position_title": "ASSISTANT TO THE PRESIDENT AND DIRECTOR OF THE DOMESTIC POLICY COUNCIL",
      "employee_status": "Employee",
      "salary": "172200.00"
    },
    {
      "employee_name": "Bauer, Robert F.",
      "pay_basis": "Per Annum",
      "position_title": "ASSISTANT TO THE PRESIDENT AND COUNSEL TO THE PRESIDENT",
      "employee_status": "Employee",
      "salary": "172200.00"
    }
  ]
}

Install & Use

Use

curl -X POST -d '["open.whitehouse.gov","rcp4-3y7g","select * order by salary desc limit 5"]' -H 'Content-Type: application/json' -H 'Authorization: Simple YOUR_API_KEY' https://api.algorithmia.com/v1/algo/marksskram/SocrataOpenDataQuery/0.1.4