INCA

Help functions used when working with INCA

is.inca()

Check if R is running from INCA

exportr()

Dump script together with functions from required packages

INCA data

Recognize and coerce variables from different formats

as.incadata() is.incadata()

Identify data formats used by INCA and Rockan

use_incadata()

Use incadata from file or dataframe df

lownames()

Make all names in data.frame lower case

as.Dates()

Converting potential date to Date vector

id()

Add id variables to data frame

lt()

Lead time from one date to another

as_numeric() is_numeric()

Test object for, or coerce to, numeric

is.incalogical() incalogical2logical()

Coerce to logical if value is logical according to INCA

Documentation

Download and open register documentation from the web

documents()

Download and possibly open INCA documentation

find_documents()

List URLS to documents for a register

find_links()

Find links from web page

find_register()

Find register by name

Miscellaneous data functions

Additional functions to work with data

is.scalar_in() is.scalar_in01()

Test if scalar is in interval

is.wholenumber()

Test if a numeric vector consists of whole numbers

psum()

Parallel sum

specify_missing()

Specify missing values for a vector

width()

Calculate the width of the range of x

cut(<integer>)

Convert integer vector to Factor

Help functions

Internal help functions, example data and S3 methods

best_match()

Tries to correct misspelling of character string

clean_text()

Clean/standardize text

create_s3_method() create_s3_print()

Template functions to generate basic S3 methods for new classes

cut(<integer>)

Convert integer vector to Factor

ex_data

Synthetic example data from INCA

exceed_threshold()

Check if transformation/coercing of a vector is good enough