Use of R-Based APIs (Application Programming Interface) to Obtain Data
Thomas W. MacFarland
Additional contact information
Thomas W. MacFarland: Nova Southeastern University, Office of Institutional Effectiveness and College of Computing and Engineering
Chapter Chapter 6 in Introduction to Data Science in Biostatistics, 2024, pp 341-431 from Springer
Abstract:
Abstract The purpose of this lesson is to demonstrate how R-Based APIs (Application Programming Interface) functions are used to obtain data so that reproducible syntax is used to acquire data and therefore avoid the cumbersome and opaque process of using graphical (e.g., GUI) point and click menus to obtain data. The use of R-based API functions, serving as data retrieval clients, is now so popular that many API functions have an added feature that data are returned in a tidy format. Much work still needs to be done to expand the number and ease of use of these data retrieval clients, but R functions that return data in tidy format are a great advantage over prior data retrieval processes. This lesson also stresses the use of the way a key (e.g., a proxy for a resource-specific password), freely and easily obtained, is used to further advance the use of R-based data retrieval functions (e.g., clients).
Keywords: Acs1; Acs5; API key; American community survey (ACS); Application programming interface (API); Base R; Beautiful graphics; Client; Dataframe; Decennial census; Facet; File transfer protocol (ftp); Graphical user interface (GUI); Gopher; Javascript object notation (JSON); Proxy; R; Representational state transfer (REST); Tibble; Tidyverse ecosystem; World wide web (WWW); Wrapper (search for similar items in EconPapers)
Date: 2024
References: Add references at CitEc
Citations:
There are no downloads for this item, see the EconPapers FAQ for hints about obtaining it.
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:spr:sprchp:978-3-031-46383-9_6
Ordering information: This item can be ordered from
http://www.springer.com/9783031463839
DOI: 10.1007/978-3-031-46383-9_6
Access Statistics for this chapter
More chapters in Springer Books from Springer
Bibliographic data for series maintained by Sonal Shukla () and Springer Nature Abstracting and Indexing ().