Examples: visualization, C++, networks, data cleaning, html widgets, ropensci.

Found 2119 packages in 0.02 seconds

secfile — by Jason Foster, 2 months ago

SEC 'EDGAR' APIs

Simple and efficient access to the SEC's 'EDGAR' APIs < https://www.sec.gov/search-filings> for querying and retrieving filings. The 'secfile' package abstracts the complexities of interacting with SEC EDGAR APIs, such as session management, user agent declaration, rate limiting, index parsing, pagination of filing metadata, URL construction, document caching, and inline XBRL parsing. This abstraction allows users to focus on retrieving data rather than managing API details. Use cases include retrieving filings across a range of workflows such as indexes, tenures, submissions, and facts. The package supports flexible query capabilities, including customizable form types, date ranges, and dimensions, and automatic data validation. It handles the SEC's fair access requirements automatically, such as user agent declaration and rate limiting between requests, and caches downloaded documents for efficient retrieval of large datasets. The implementation uses standard HTTP libraries to handle API interactions efficiently and is available in both R and 'Python' for accessibility to a broad audience.

precviasBR — by Iara Passos, 4 months ago

Spatial Data of Road Precariousness in Brazil

Fornece acesso eficiente à malha espacial de precariedade viária brasileira. O pacote realiza o download em cache e a leitura otimizada (via Apache Arrow) de arquivos Parquet particionados, contendo o cruzamento de variáveis de infraestrutura do Entorno do Censo Demográfico 2022 (IBGE) com a malha viária aberta do Overture Maps. [English] Provides efficient access to the spatial network of road precariousness in Brazil. The package performs cached downloads and optimized reading (via Apache Arrow) of partitioned Parquet files. These files contain the intersection of infrastructure variables from the 2022 Demographic Census (IBGE) with the open street network from Overture Maps. Methodology and datasets are detailed in Passos (2026) .

datasusr — by Andre Leite, 15 days ago

Fast Access to Brazilian Public Health Data from 'DATASUS'

Provides fast, in-memory reading of 'DATASUS' 'DBC' files using native 'C' code, along with a catalog of public health data sources, 'FTP' file discovery, caching downloads, and a high-level datasus_fetch() function that lists, downloads, and reads files in a single call. Bundles the 'blast' decompressor from 'zlib' contrib/blast to decode 'PKWare DCL' compressed 'DBC' files and parses 'DBF' records directly for efficient import into tibbles. See the 'DATASUS' file transfer site < https://datasus.saude.gov.br> and Adler (2003) < https://github.com/madler/zlib/tree/master/contrib/blast> for details on the underlying data and compression format.

memoise — by Winston Chang, 5 years ago

'Memoisation' of Functions

Cache the results of a function so that when you call it again with the same arguments it returns the previously computed value.

StanHeaders — by Ben Goodrich, a month ago

C++ Header Files for Stan

The C++ header files of the Stan project are provided by this package, but it contains little R code or documentation. The main reference is the vignette. There is a shared object containing part of the 'CVODES' library, but its functionality is not accessible from R. 'StanHeaders' is primarily useful for developers who want to utilize the 'LinkingTo' directive of their package's DESCRIPTION file to build on the Stan library without incurring unnecessary dependencies. The Stan project develops a probabilistic programming language that implements full or approximate Bayesian statistical inference via Markov Chain Monte Carlo or 'variational' methods and implements (optionally penalized) maximum likelihood estimation via optimization. The Stan library includes an advanced automatic differentiation scheme, 'templated' statistical and linear algebra functions that can handle the automatically 'differentiable' scalar types (and doubles, 'ints', etc.), and a parser for the Stan language. The 'rstan' package provides user-facing R functions to parse, compile, test, estimate, and analyze Stan models.

SNSFdatasets — by Enrico Schumann, 3 years ago

Download Datasets from the Swiss National Science Foundation (SNF, FNS, SNSF)

Download and read datasets from the Swiss National Science Foundation (SNF, FNS, SNSF; < https://snf.ch>). The package is lightweight and without dependencies. Downloaded data can optionally be cached, to avoid repeated downloads of the same files. There are also utilities for comparing different versions of datasets, i.e. to report added, removed and changed entries.

BH — by Dirk Eddelbuettel, 10 months ago

Boost C++ Header Files

Boost provides free peer-reviewed portable C++ source libraries. A large part of Boost is provided as C++ template code which is resolved entirely at compile-time without linking. This package aims to provide the most useful subset of Boost libraries for template use among CRAN packages. By placing these libraries in this package, we offer a more efficient distribution system for CRAN as replication of this code in the sources of other packages is avoided. As of release 1.84.0-0, the following Boost libraries are included: 'accumulators' 'algorithm' 'align' 'any' 'atomic' 'beast' 'bimap' 'bind' 'circular_buffer' 'compute' 'concept' 'config' 'container' 'date_time' 'detail' 'dynamic_bitset' 'exception' 'flyweight' 'foreach' 'functional' 'fusion' 'geometry' 'graph' 'heap' 'icl' 'integer' 'interprocess' 'intrusive' 'io' 'iostreams' 'iterator' 'lambda2' 'math' 'move' 'mp11' 'mpl' 'multiprecision' 'numeric' 'pending' 'phoenix' 'polygon' 'preprocessor' 'process' 'propery_tree' 'qvm' 'random' 'range' 'scope_exit' 'smart_ptr' 'sort' 'spirit' 'tuple' 'type_traits' 'typeof' 'unordered' 'url' 'utility' 'uuid'.

contactsurveys — by Sebastian Funk, 2 months ago

Download Contact Surveys for Use in Infectious Disease Modelling

Download, cache, and manage social contact survey data from the social contact data community on Zenodo (< https://zenodo.org/communities/social_contact_data>) for use in infectious disease modelling. Provides functions to list available surveys, download survey files with automatic caching, and retrieve citations. Contact survey data describe who contacts whom in a population and are used to parameterise age-structured transmission models, for example via the 'socialmixr' package. The surveys available include those from the POLYMOD study (Mossong et al. (2008) ) and other social contact data shared on Zenodo.

tidyprf — by João Paulo Assis Bonifácio, a month ago

Tidy Access to Brazilian Federal Highway Police ('PRF') Data

Download and read Brazilian Federal Highway Police ('PRF') open data on traffic accidents by person, by occurrence, and traffic violations < https://www.gov.br/prf/pt-br/acesso-a-informacao/dados-abertos/dados-abertos-da-prf>. Data are retrieved on demand as 'Parquet' files distributed via 'GitHub' releases and cached locally for reuse.

SNBdata — by Enrico Schumann, 3 years ago

Download Data from the Swiss National Bank (SNB)

Download data (tables and datasets) from the Swiss National Bank (SNB; < https://www.snb.ch/en>), the Swiss central bank. The package is lightweight and comes with few dependencies; suggested packages are used only if data is to be transformed into particular data structures, for instance into 'zoo' objects. Downloaded data can optionally be cached, to avoid repeated downloads of the same files.