Skip to content

MaxVonKnobloch/insuranceDataGraph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

insuranceDataGraph

Contains R package with REST endpoints

In case an error occurs directly after installing and loading the package, restarting the session (.rs.restartR()) should help.

To run the swagger and make the endpoints accessible, run the method createAPI().

The GET method \info and POST method \Graphs can then be reached. The post method sends back a pdf-file and needs the data as input file with key: dataset

Example with Curl on Windows: curl -X GET http://localhost:xxxx/info

curl -X POST -H "Content-Type: text/csv" --data-urlencode "dataset@directory\of\file.csv" http://localhost:xxxx/Graphs -o graphics.pdf

About

Contains R package with REST endpoints

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages