Learn R Programming

lucas (version 1.0)

Package to Download and Create the DB of LUCAS Data Harmonized

Description

Reproduces the harmonized DB of the ESTAT survey of the same name. The survey data is served as separate spreadsheets with noticeable differences in the collected attributes. The tool here presented carries out a series of instructions that harmonize the attributes in terms of name, meaning, and occurrence, while also introducing a series of new variables, instrumental to adding value to the product. Outputs include one harmonized table with all the years, and three separate geometries, corresponding to the theoretical point, the gps location where the measurement was made and the 250m east-facing transect.

Copy Link

Version

Install

install.packages('lucas')

Monthly Downloads

166

Version

1.0

License

GPL (>= 3)

Maintainer

Momchil Yordanov

Last Published

October 17th, 2020

Functions in lucas (1.0)

Order_cols

Change column order
Update_rd

Update Record descriptor
UF_Consistency_check

User-friendly consistency check
Remove_vars

Remove unwanted columns
Upper_case

Upper case columns
Rename_cols

Rename columns to match 2018 survey
User_friendly

User-friendly LUCAS harmonized
Recode_vars

Update values to fit 2018
Upload_to_db

Update csv to database
Create_tags

Create tags for harmonized table
Correct_th_loc

Correct theoretical long lat
Upload_exif

Upload_exif
Final_order_cols

Final column order
Merge_harmo

Merge all tables
Add_new_cols

Add new columns to tables
Add_photo_fields_2006

Add photo fields 2006
Correct_long

Harmonize long values in all tables
Connect_to_db

Conntect to DB
Consistency_check

Consistency checks
Check_Map_CSVs

Check mapping CSVs
Add_geom

Add geometries and calculated distance
Add_revisit

Add revisit column
Align_Map_CSVs

Align mapping CSVs
Assert_files

Assert files