Package: planscorer 0.0.1

planscorer: Score Redistricting Plans with 'PlanScore'

Provides access to the 'PlanScore' Application Programming Interface (<https://github.com/PlanScore/PlanScore/blob/main/API.md>) for scoring redistricting plans. Allows for upload of plans from block assignment files and shape files. For shapes in memory, such as from 'sf' or 'redist', it processes them to save and upload. Includes tools for tidying responses and saving output from the website.

Authors:Christopher T. Kenny [aut, trl, cre], Michal Migurski [aut], Cory McCartan [art]

planscorer_0.0.1.tar.gz
planscorer_0.0.1.zip(r-4.5)planscorer_0.0.1.zip(r-4.4)planscorer_0.0.1.zip(r-4.3)
planscorer_0.0.1.tgz(r-4.4-any)planscorer_0.0.1.tgz(r-4.3-any)
planscorer_0.0.1.tar.gz(r-4.5-noble)planscorer_0.0.1.tar.gz(r-4.4-noble)
planscorer_0.0.1.tgz(r-4.4-emscripten)planscorer_0.0.1.tgz(r-4.3-emscripten)
planscorer.pdf |planscorer.html
planscorer/json (API)
NEWS

# Install 'planscorer' in R:
install.packages('planscorer', repos = c('https://christopherkenny.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/christopherkenny/planscorer/issues

On CRAN:

11 exports 1.04 score 61 dependencies 423 downloads

Last updated 5 months agofrom:668f1f67d9

Exports:ps_captureps_get_keyps_has_keyps_ingestps_model_versionsps_saveps_set_keyps_supported_statesps_upload_fileps_upload_redistps_upload_shp

Dependencies:AsioHeadersaskpassbitbit64callrchromoteclassclassIntclicliprcpp11crayoncurlDBIdplyre1071fansifastmapfsgenericsgluehmshttr2jsonliteKernSmoothlaterlifecyclemagrittrMASSopensslpillarpkgconfigprettyunitsprocessxprogresspromisesproxypspurrrR6rappdirsRcppreadrrlangs2sfstringistringrsystibbletidyrtidyselecttzdbunitsutf8vctrsvroomwebshot2websocketwithrwk

Readme and manuals

Help Manual

Help pageTopics
Check or Get PlanScore API Keykey ps_get_key ps_has_key
Capture PlanScore Graphsps_capture
Ingest PlanScore Outputps_ingest
List Model Versionsps_model_versions
Save PlanScore Outputps_save
Add Entry to Renvironps_set_key
List Currently Supported Statesps_supported_states
Upload to PlanScoreps_upload_file ps_upload_redist ps_upload_shp upload