extract_num: Extract numerics from string or character

View source: R/scrapers.R

extract_numR Documentation

Extract numerics from string or character

Description

Removes all characters that are not in [0-9].

Usage

extract_num(x, decimal = TRUE)

Arguments

x

A character vector.

decimal

Logical flag, indicating if x has a decimal separator


coalitions documentation built on Aug. 17, 2022, 5:07 p.m.