GitLab at IIASA

2247743dfdf33298b7fa1437dd5adf62221c70f3.svn-base 895 B
Newer Older
Xinxin Yang's avatar
Xinxin Yang committed
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/handle_rds_data.R
\name{grep.columns.in.raw.rds}
\alias{grep.columns.in.raw.rds}
\title{Grep a pattern into a raw.rds column names}
\usage{
grep.columns.in.raw.rds(pattern, countries = c("all"), years = c("all"))
}
\arguments{
\item{pattern}{a grep-like character pattern. This parameter is passed as is to the grep function}

\item{countries}{a character vector with all the 3-letter codes of the selected countries, e.g. c("ELL", "ESP").
If "all" is included, all available countries are loaded}

\item{years}{a numeric vector with the years selected. If "all" is included, all available years are loa}

\item{show}{if TRUE, the columsn are printed}
}
\value{
Prints the columns and returns them invisibly
}
\description{
Useful for the case where one want to look if there are certain columns present or missing
}