marksskram

marksskram / SocrataOpenDataQuery / 0.1.4

SocrataOpenDataQuery

Royalty Free
Language
Java
Metrics
API Calls - 294 Avg call duration - N/A
Permissions
The Algorithm Platform License is the set of terms that are stated in the Software License section of the Algorithmia Application Developer and API License Agreement. It is intended to allow users to reserve as many rights as possible without limiting Algorithmia's ability to run it as a service. Learn More
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

Input
Output
{
  "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 and Use

Install

Install the Algorithmia CLI client by running:

curl -sSLf https://algorithmia.com/install.sh | sh

Then authenticate by running:

$ algo auth
# When prompted for api endpoint, hit enter
# When prompted for API key, enter your key: YOUR_API_KEY
CLI Install Docs

Use



algo run marksskram/SocrataOpenDataQuery/0.1.4 -d '["open.whitehouse.gov","rcp4-3y7g","select * order by salary desc limit 5"]' --timeout 300
  
CLI Docs