Displaying 3 results from an estimated 3 matches for "union_id".
Did you mean:
union_ch
2006 May 09
6
RJS, & mulitple Drop Down Boxes.
...id=410
Instead of doing it the way he/she has, I decided to use RJS files, or
at least I tried.
Here''s my view
<%= start_form_tag %>
<%= javascript_include_tag "prototype" %>
<p>
Union:
<div id="union">
<select name="new_contract[union_id]" id="new_contract[union_id]">
<option value="">Select Union</option>
<% @unions.each do |union| %>
<option value="<%= union.id %>">
<%= union.name %>
</option>
<% end %>...
2020 Oct 30
3
Error: variable not found
...erwise, the ultimate couple_id is too large, and it works in this dataset because the serials start at 1000 (I will have to check if this works for other datasets)
ipumsi_00008_dta <- mutate(ipumsi_00008_dta, serial_divided = serial%/%1000)
##### creating unique union identifier
ipumsi_00008_dta$union_id = paste0(ipumsi_00008_dta$country, ipumsi_00008_dta$year, ipumsi_00008_dta$serial_divided, ipumsi_00008_dta$sploc_pernum_code)
ipumsi_00008_dta <- ipumsi_00008_dta %>% mutate(union_id_numeric = as.numeric(union_id))
ipumsi_00008_dta <- mutate(ipumsi_00008_dta, couple_id = union_id_numeric*...
2020 Oct 30
0
Error: variable not found
...prule" codes. Again, this will not work with between-household
relationships.
Jim
On Fri, Oct 30, 2020 at 11:16 PM Hannah Van Impe <hannahvanimpe at outlook.com>
wrote:
> Thank you very much for the answer.
>
> I also have another question. With this data, I made the variable union_id
> using paste0. (I am writing a thesis and this part is necessary, but I
> don?t have previous knowledge of R, so it is difficult for me). My
> professor told me, that if I use paste0, it can be problematic because
> ?pernum? and ?serial? can have different numbers of digits. In other w...