Package index
-
pgoptions - R6 Class to set and get package-wide options for PRIO-GRID.
-
Source - Source Class
-
add_source() - Add source to CSV file
-
calc_traveltime() - Generate travel time to nearest major city
-
calculate_pgvariables() - Calculates all PRIO-GRID variables
-
check_pgsourcefiles() - Test if MD5 checksums of local files are the same as a tested set of files
-
collate_pgdata() - Collects PRIO-GRID data from rasters and pulls it into two data.frames
-
create_pg_indices() - Create matrix with index numbering conventions as for PRIO-GRID.
-
cshapes_cover() - Whether or not a grid-cell intersects with the international state system (cShapes 2.0)
-
cshapes_cover_share() - Share of grid-cell intersecting with the international state system (cShapes 2.0)
-
cshapes_gwcode() - The Gleditsch-Ward (cShapes 2.0 version) code in each grid-cell
-
download_pg_rawdata() - Download the raw-data for PRIO-GRID
-
extract_bib_elements() - Helper function to parse bibliography elements based on a source
-
gen_cru_tmp() - Generate PRIO-GRID Compatible CRU Near Surface Temperature Data
-
gen_cshapes_cover_share() - Generate cshapes_cover_share variable
-
gen_cshapes_gwcode() - Generate cshapes_gwcode variable
-
gen_geoepr_reg_excluded() - PRIO-GRID cells with any regionally based politically excluded groups
-
gen_geopko_operations_count() - Generate Geo-PKO operations count
-
gen_geopko_troops_count() - Generate the number of troops from Geo-PKO
-
gen_ghsl_population_grid() - Generate GHSL GHS Population Grid
-
gen_hilda_cropland() - Extract Cropland Coverage from HILDA+ Data
-
gen_hilda_forest() - Extract Forest Coverage from HILDA+ Data
-
gen_hilda_grassland() - Extract Unmanaged Grass/Shrubland Coverage from HILDA+ Data
-
gen_hilda_ocean() - Extract Ocean Coverage from HILDA+ Data
-
gen_hilda_pasture() - Extract Pasture/Rangeland Coverage from HILDA+ Data
-
gen_hilda_sparse() - Extract Sparse/No Vegetation Coverage from HILDA+ Data
-
gen_hilda_urban() - Extract Urban Coverage from HILDA+ Data
-
gen_hilda_water() - Extract Water Coverage from HILDA+ Data
-
gen_linight_mean() - Generate Li Nighttime Light
-
gen_naturalearth_cover() - Whether or not a grid-cell intersects with land (NaturalEarth)
-
gen_naturalearth_cover_share() - Share of grid-cell that intersects with land (NaturalEarth)
-
gen_ruggedterrain_elevation_mean() - Generate the average (mean) elevation for PRIO-GRID cells
-
gen_traveltime_mean() - Generate the average (mean) travel time to nearest major city
-
gen_traveltime_min() - Generate the minimum travel time to nearest major city
-
get_bib_element() - Extract bibliography element
-
get_bibliography() - Get the PRIO-GRID bibliography
-
get_options_hash() - Get a hash of options that affect data generation
-
get_pgfile() - Get file-path on local system to a data source in PRIO-GRID
-
hilda_landcover() - Extract Land Cover Proportions from HILDA+ Data for PRIO-GRID Cells
-
load_pgvariable() - Load a PRIO-GRID variable
-
pg_date_intervals() - Get a sequence of date intervals
-
pg_dates() - Get a sequence of dates
-
pg_rawfiles() - Extract url- and file-info from PRIO-GRID metadata
-
pgchecksum - PRIO-GRID File Checksums (MD5)
-
pgcitations() - Print citations for PRIO-GRID variables
-
pgsearch() - Search PRIO-GRID meta-data
-
pgsources - PRIO-GRID Meta-data survey and source information
-
pgvariables - PRIO-GRID Variables
-
prio_blank_grid() - Create a raster with PRIO-GRID ids.
-
rast_to_df() - Converts raster with variable to data.frame
-
raster_to_pgtibble() - Convert a pgraster to tabular format
-
read_cru_tmp() - Read and Process CRU TS Near Surface Temperature Data
-
read_cshapes() - Reads the CShapes 2.0 raw data
-
read_epr() - Reads the EPR Core 2023 data
-
read_geoepr() - Reads the GeoEPR - Geo-referencing Ethnic Power Relations data
-
read_geopko() - Reads the Geocoded Peacekeeping Operations (Geo-PKO) data
-
read_ghsl_population_grid() - Reads the GHSL GHS Population Grid data
-
read_hilda() - Reads the HILDA+ data
-
read_naturalearth_10m_land() - Reads the Natural Earth 10m Physical Vector Data
-
read_ruggedterrain() - Read Global Multi-resolution Terrain Elevation Data (GMTED2010)
-
read_traveltime() - Reads the Estimated Travel Time to Major Cities version year 2000 data Unzips the folder and imports the .tif file as SpatRaster
-
robust_transformation() - Robustly transform any raster to PRIO-GRID format
-
ruggedterrain_variable() - Calculate elevation in PRIO-GRID format with set variable
-
unfinished_downloads() - Prints data.frame with unfinished downloads
-
zip_file() - Unzip a File to a Structured Directory (with Safety Check)