Add get_processes() to wrap v1/system/processes
Évaluation
Cette issue n'a pas encore été évaluée.
Description
I think we want a new function name than get_procs(), the old one. The new function should call GET v1/system/processes with Accept: text/csv to get a CSV download and then reading the data in should be straightforward. If that 404s, then we're pointing at old Connect, so call the old API (justget_procs()), and map the old column names to the new ones. We have a few of these "call the new API and if it fails call the old one" setups in the package already.
The new API supports a few filtering params that we could add as arguments to get_processes()
get_procs() should call .Deprecated() (or if there is a fancier lifecycle:: function we can use that since we already depend on it) and tell people to use get_processes() instead. (Though we wouldn't want to raise the warning if we're calling the logic from within get_processes() as the fallback, so either suppress the warning there or factor out the logic that does the requests and formatting.)
- Langage dominant
- R
- Étoiles
- 54
- Forks
- 27
- Merge moyen
- 1 j 28 min
- PR mergées (30 j)
- 3
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de posit-dev/connectapi
-
Move uuid to SuggestsOuverte
Difficulté 1/5 Moins d'une heure Accessibilité débutants 62/100
posit-dev/connectapi#249 ·
-
Release connectapi 0.13.0Peut-être pris @karawoo l’a pris il y a 1 jour. Ouverte
posit-dev/connectapi#534 · 1 personne assignée ·
-
Difficulté 3/5 1-2 jours Accessibilité débutants 65/100
posit-dev/connectapi#527 ·
-
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 35/100
posit-dev/connectapi#526 · 1 réaction ·
-
Difficulté 3/5 1-2 jours Accessibilité débutants 48/100
posit-dev/connectapi#506 · 1 réaction ·
Toutes les issues de posit-dev/connectapi
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
paul-buerkner/brms#1971 ·
Les mainteneurs répondent en général sous 4 jours
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 80/100
-
Chapter 4: No Free LunchOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100